Kbd
Live preview and documentation for the Kbd component.
Preview
componentPreview.loading
About
Displays a keyboard shortcut or key combination (HeroUI "Kbd"), for example ⌘ K or Esc.
keyLabel: the visible key value (e.g."K","Esc","↵").shortcut: modifier glyph shown before the key —command(⌘, default),windows("Win +"),ctrl(⌃),option(⌥),shift(⇧), orkey(no modifier).variant:filled(default, solid neutral background) orlight(no background, for subtle contexts like helper text, a tooltip, or documentation).
Last updated on 08/23/2026

