Menus · component · 5K
The application menu at the right end of the menu bar: the active application's small icon as the title, then Hide <app>, Hide Others, Show All and the running applications with a check on the active one and dimmed icons for hidden ones.
Put it in MenubarEnd. Data-driven: pass apps (id, name, 16×16 icon, hidden), activeId and the onActivate, onHide, onHideOthers and onShowAll callbacks; you keep the state. Applications are radio items, so screen readers hear which one is active. Every label can be replaced.
pnpm dlx shadcn@latest add @s7ui/application-menuThis example also uses @s7ui/icons @s7ui/menubar @s7ui/window.
Behind
In front
Behind