Menubar
A desktop-style application menubar with submenus, checkbox and radio items, shortcuts and full keyboard support.
Copy a prompt for your AI coding tool with the source, dependencies and usage
Props
MenubarProps
Also accepts all props of Omit<React.ComponentProps<"div">, "children">
| Prop | Type | Default | Description |
|---|---|---|---|
| menus* required | MenubarMenu[] | — | — |
| defaultOpenIndex | number | — | Render the menu at this index open on mount (without moving focus) |
Install
$ npx shadcn@latest add https://chromotion.dev/r/menubar.json