Dropdown Menu
Contextual menu with actions and navigation options.
Examples
With Icons
With Submenus
With Checkboxes
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | undefined | The controlled open state of the dropdown menu. |
| defaultOpen | boolean | false | The default open state when initially rendered. |
| onOpenChange | (open: boolean) => void | undefined | Event handler called when the open state changes. |
| modal | boolean | true | When true, keyboard navigation and focus are trapped within the dropdown menu. |