ThiloDesign System
DV

Kbd

shadcn/ui

Keyboard shortcut indicator. Wrap multiple keys in KbdGroup for combinations.

@/components/ui/kbd

Key types

TypeKeys
ModifiersCtrlAltShift
Action keysEnterEscTabSpaceDeleteBackspace
Arrows
Letters / numbersAKNS?1F1

Combinations — KbdGroup

ActionShortcutNote
Command paletteKGlobal search and command
New ticketNCreate from anywhere
SaveSSave current form or ticket
Close / cancelEscClose modal, sheet, popover
ConfirmEnterSubmit form, confirm dialog
Select allATable bulk select
Navigate listMove focus in list or table rows
Help?Open shortcuts reference

In context — dropdown menu shortcuts

New ticketN
SaveS
SearchK
Close panelEsc
Help & shortcuts?

Tokens

PropertyValue
Backgroundbg-muted — neutral surface, adapts to light and dark
Borderborder border-border — gives the physical key appearance
Texttext-foreground font-mono text-xs — monospace key label
KbdGroupflex items-center gap-1 — positions Kbd keys side by side

Use KbdGroup for multi-key combinations — it handles the spacing. Use bare Kbd for single keys inline in text.

On this page