

Every state


default


hover


focus


disabled


destructive


list
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | "Duplicate invoice" | Visible label. |
| icon | IconName | null | "copy" | Lucide icon name before the label. Null or left out: no icon (the label keeps its place in a list with icons). |
| shortcut | { keys: string[]; aria: string } | null | { keys: ["⌘", "D"], aria: "Meta+D" } | The shortcut: `keys` as drawn, one keycap each (["⌘", "D"]), and `aria` in aria-keyshortcuts form ("Meta+D"). Null or left out: no shortcut. |
| href | string | null | null | Where the row goes. Null or left out: the row is a button that calls onSelect. |
| disabled | boolean | – | Greyed out and not clickable; a link loses its href. |
| destructive | boolean | – | For actions that delete or can't be undone: label and icon in the destructive colour. |
| onSelect | () => void | – | Called when the row is chosen. |
| className | string | – | Extra classes on the outer element. |
More menu items
All 8menu-item-08 is in UI ProGet UI Pro, €199

