Axerity

Keyboard

Wrap a key name in Kbd to render it as a physical keyboard key. It is handy for documenting shortcuts inline.

Example

Press K to search, or Esc to close a dialog.

Usage

<script>	import { Kbd } from '$lib';</script>Save with <Kbd>Ctrl</Kbd> <Kbd>S</Kbd>.