Skip to content

Keyboard Key

Display a keyboard key in a text block.

Usage

Use the default slot to set the text of the Kbd.

K
vue
<template>
  <s-kbd>K</s-kbd>
</template>

You can also use the value prop:

K
vue
<template>
  <s-kbd value="K" />
</template>

Released under the MIT License.