Overview
Print⌘P
Installation
Usage
API Reference
MenubarItem
MenubarCheckboxItem
MenubarRadioGroup / MenubarRadioItem
Accessibility
- Menubar uses
role="menubar"witharia-orientation="horizontal" - Each
MenubarMenutrigger hasrole="menuitem"andaria-haspopup="menu" - Keyboard: Left/Right arrows move between top-level triggers; Down/Enter opens the dropdown; Escape closes
- When a menu is open, Up/Down navigate items and Left/Right move to adjacent top-level menus
Do’s & Don’ts
Do
- Use Menubar for desktop-class web applications (editors, dashboards, IDEs)
- Include keyboard shortcuts in
MenubarShortcutto match native app conventions - Group related actions with
MenubarSeparatorandMenubarLabel - Limit top-level menus to 4–6 items
Don't
- Don’t use Menubar on mobile-first products — use a bottom sheet or hamburger menu
- Don’t duplicate the same actions in both Menubar and a Toolbar — pick one
- Don’t use for simple single-level navigation — use
TabsorSidebar - Don’t nest sub-menus more than 2 levels deep