

Every state


default


focus


open


hover-row


destructive


pinned
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| groups | DropdownMenuCompactItem[][] | – | Groups of commands (id, label, icon, shortcut, toggle, destructive, disabled); a separator sits between groups. |
| label | string | "More actions" | Accessible name of the trigger and the menu. |
| defaultChecked | string[] | – | Ids of toggles that start on. |
| onSelect | (id: string, checked?: boolean) => void | – | Called with the item id (and the new state for a toggle) when one is chosen. |
| defaultOpen | boolean | – | Opens the menu on mount (previews). |
| className | string | – | Extra classes on the wrapper. |
More dropdown menus
All 4dropdown-menu-02 is in UI ProGet UI Pro, €199


