Skip to Content

Kbd

Keyboard key example: an inline key label in a small muted rounded box, plus a group wrapper for key combinations. Adapts its colors inside an input group or a tooltip.

Installation

pnpm dlx shadcn@latest add @01orbital/kbd

Examples

Editing Shortcutskbd-editing-shortcuts

Keyboard key example: Kbd keys beside a transcript textarea, explaining native editing shortcuts. Shows shortcut hints next to a text field.

pnpm dlx shadcn@latest add @01orbital/kbd-editing-shortcuts

Dependencies

npm: cn. The CLI installs it for you.

Used in blocks

3 blocks are built with Kbd:

Last updated on