Dropdown Menu
Navigation
An animated dropdown menu with full keyboard navigation, click-outside close, divider and disabled item support.
Loading preview...
Customize
Align:
Props
| Prop | Type | Default | Description |
|---|---|---|---|
trigger | React.ReactNode | — | The element that triggers the dropdown. |
items | DropdownItem[] | — | Array of menu items ({ label, onClick?, icon?, disabled?, divider? }). |
align | 'left' | 'right' | 'left' | Horizontal alignment of the dropdown. |
className | string | '' | Additional CSS classes for the dropdown panel. |