KBD
Keyboard shortcut labels with a thick navy badge.
kbd-demo.app
⌘KCtrl + S⇧⌘P⌥⌘I
Installation
terminal.sh
npx y2kui@latest add kbdUsage
import { Kbd } from "@/components/ui/kbd"
<Kbd>⌘K</Kbd>Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional Tailwind classes. |
children | ReactNode | — | Keyboard shortcut text. |