Primitives
Dropdown
Context menu on Radix, on the overlay surface. The highlighted row takes the brand tint and its icon and shortcut turn brand. Items, icons, labels, shortcuts, checkbox and radio items, submenus and keyboard navigation.
Preview
Installation
Resolves dependencies, copies the source, and installs npm packages automatically.
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | - | Controlled open state |
| onOpenChange | (open: boolean) => void | - | Callback when open state changes |
| side | "top" | "bottom" | "left" | "right" | "bottom" | Placement relative to trigger (on DropdownMenuContent) |
| align | "start" | "center" | "end" | "start" | Alignment along the trigger (on DropdownMenuContent) |