Kbd
Display keyboard keys and chords in docs, tooltips, buttons, and search fields. Non-interactive — pointer-events-none.
Basic
Render a single key or chord with Kbd.
Installation
CLI
Composition
structure
Usage
kbd.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | On `Kbd` or `KbdGroup` — merge extra Tailwind classes. |
| …kbd props | React.ComponentProps<"kbd"> | — | Native attributes pass through to the element. |