Installation
Usage
Components
MenuRoot
boolean
Controlled open state.
function
Callback when state changes.
MenuTrigger
Element that triggers the menu.MenuItem
boolean
Disable the menu item.
boolean
Add left padding for alignment with checkbox/radio items.
MenuCheckboxItem
boolean
Checked state.
function
Callback when checked state changes.
MenuRadioItem
string
Radio value.
MenuRadioGroup
string
Selected radio value.
function
Callback when selection changes.
Examples
Basic Menu
With Groups
With Checkboxes
With Radio Group
With Submenu
With Shortcuts
Accessibility
- Built on @base-ui/react for ARIA compliance
- Keyboard navigation (Arrow keys, Home, End)
- Type-ahead search
- Focus management
- Escape key to close