Menubar
Organize persistent application commands into menus such as File and Edit.
Basic usage
Name the bar and use a unique value for each menu and item. Tab into the bar, use the horizontal arrows to switch menus, and press Escape to dismiss.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
Root.aria-label | string | — |
Menu.value | string | — |
Root.open / onOpenChange | boolean / ({ open }) => void | — |
Root.triggerValue / onTriggerValueChange | string | null / ({ value }) => void | — |
Item.onSelect | () => void | — |