KeyboardShortcut

Displays a shortcut as styled key glyphs. Display only: it does not register a handler.

Installation

pnpm dlx shadcn@latest add @chelone/keyboard-shortcut

Displays a shortcut as styled key glyphs. Display only: it does not register a handler.

Props

PropTypeDefaultDescription
keyboardShortcutstring—