

Every state


default


hover


focus


focus-disabled


checked


other
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | "Task actions" | Accessible name of the menu. |
| groups | KbdMenuRowGroup[] | [ { items: [ { id: "rename", label: "Rename", icon: "pencil", keys: ["F2"] }, { id: "copy-link", label: "Copy link", … | Groups of rows, drawn with a separator between them. |
| platform | KbdPlatform | null | – | Force a platform's spelling of the shortcuts. Left out: the visitor's own, read after hydration. |
| onSelect | (id: string) => void | – | Called with the row's id when an action row is chosen. |
| onCheckedChange | (id: string, checked: boolean) => void | – | Called with the row's id and its new state when a checkable row is toggled. |
| className | string | – | Extra classes on the outer element. |
More keyboard keys
All 4kbd-01 is in UI ProGet UI Pro, €199


