Layout
Dropdown
A context menu or action dropdown with keyboard navigation and optional icons.
Preview:1280px
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| trigger | ReactNode | - | Element that opens the dropdown on click. |
| items | { label?: string; icon?: ReactNode; onClick?: () => void; divider?: boolean; disabled?: boolean }[] | - | Menu items, including optional dividers. |
| align | 'left' | 'right' | 'left' | Horizontal alignment of the dropdown menu. |