← Design system
Dropdown
Interactive examples and usage for the Dropdown component.
Examples
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | DropdownItem[] | required | Array of menu items with label, onclick, type, and disabled |
align | 'left' | 'right' | 'left' | Horizontal alignment of the dropdown menu |
Keyboard
| Key | Action |
|---|---|
| Arrow Down | Move to next menu item |
| Arrow Up | Move to previous menu item |
| Home | Move to first menu item |
| End | Move to last menu item |
| Enter | Select the focused item |
| Escape | Close the dropdown menu |