App Switcher
The control at the top of a sidebar that names the current space and switches to another: a mark, a name, a plan stamp and a two-arrow glyph, opening a menu of the other spaces.
tsx
import {
AppSwitcher,
AppSwitcherMenu,
AppSwitcherItem,
AppSwitcherFooter,
} from "@pestoui/core"With a menu
Pass an AppSwitcherMenu as the child and the trigger becomes a dropdown. active marks the current space with a tick; AppSwitcherFooter holds actions below a separator.
Sizes, and no menu
Three sizes. With no children the switcher is a plain button — it does not claim a menu it cannot open.
Props
Pesto UI · 117 documented components