Components
Menubar
Horizontal menu bar for organizing navigation and actions
Preview
Installation
Usage
API Reference
The Menubar component is built on top of Base UI's Menubar. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.
For the complete Base UI API, see the Base UI Menubar documentation.
Custom Props
MenubarContent
Prop
Type
Default
MenubarItem
Prop
Type
Default
MenubarLabel
Prop
Type
Default
MenubarSubTrigger
Prop
Type
Default
Modified Defaults
Our implementation changes the following Base UI prop defaults:
- MenubarTrigger:
delaydefaults to0(Base UI defaults to600) - MenubarTrigger:
closeDelaydefaults to0 - MenubarContent:
aligndefaults to'start'(Base UI defaults to'center') - MenubarContent:
alignOffsetdefaults to-4 - MenubarContent:
sideOffsetdefaults to8(Base UI defaults to0) - MenubarSubContent:
sideOffsetdefaults to8