Skip to content

Kbd

  • Layer: Component
  • Base: Park UI kbd recipe (no Ark primitive — semantic <kbd> element)

sm · md · lg

SizeUse
smInline hints in body copy
mdDefault. Toolbars, hotkey rails
lgEmpty-state CTAs, settings

Multi-key hotkey

K

Render each key as its own <Kbd> and lay them out with a small horizontal gap. The DS does not produce ”⌘+K” as a single glyph — that semantic belongs to the consumer’s layout.

No glow, no drop shadow. The semantic <kbd> element relies on the recipe’s muted background and border only.

<kbd> is the native semantic element for keyboard input; screen readers announce it as “keyboard”. Use the glyph the user will see on their keyboard (, ) or the canonical key name (Enter, Space) — avoid spelled-out synonyms.

PropTypeDefaultDescription
size'sm' | 'md' | 'lg''md'Glyph size
childrenJSX.ElementrequiredKey label / glyph