Components
Kbd
Displays keyboard keys or shortcuts inline.
Preview
Installation
bunx shadcn@latest add @sft-ui/kbdGrouped Keys
API Reference
Kbd
Renders an inline keyboard key.
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional CSS classes to apply. |
All standard HTML <kbd> attributes are supported.
KbdGroup
Wraps multiple Kbd elements to display a key combination.
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional CSS classes to apply. |