Components
Dropdown menu
Contextual actions in a compact, keyboard-navigable surface.
Interactive local example · fictional data
The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.
API reference
| Prop | Type | Default |
|---|---|---|
| DropdownMenu.open | boolean | — |
| DropdownMenuItem.onSelect | (event) => void | — |
| DropdownMenuItem.disabled | boolean | false |
Primitives also accept their underlying HTML or Radix props. Full types are included with the package.
Behavior & accessibility
- Arrow keys navigate actions; Escape returns focus to the trigger.
Reference
Contact row actions and profile menu