kbd

Kbd

Shows a keyboard key or shortcut, such as the key that focuses the search.

Parts

PartFileDoes
KbdKbd.vueShows a keyboard key or shortcut.
KbdGroupKbdGroup.vueGroups several keys into one shortcut.

Anatomy

<KbdGroup>
  <Kbd />
</KbdGroup>

Styling

All of Kbd’s styles live in kbd.json. New to styling in Frontic UI? How styling works →

Install

npm packages
reka-ui

API reference

Shows a keyboard key or shortcut. Renders a <kbd>.

Props 3

PropTypeDefault
asChildbooleanfalse
asAsTag | Component'kbd'
classClassValue—

Recipe kbd 1 group

KbdGroup.vue
Kbd