Skip to main content
The Menu component provides a dropdown menu with support for items, groups, checkboxes, radio buttons, and nested submenus.

Installation

Usage

Components

boolean
Controlled open state.
function
Callback when state changes.
Element that triggers the menu.
boolean
Disable the menu item.
boolean
Add left padding for alignment with checkbox/radio items.
boolean
Checked state.
function
Callback when checked state changes.
Menu item with checkbox.
string
Radio value.
Menu item with radio button.
string
Selected radio value.
function
Callback when selection changes.
Container for radio items.

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