Usage
Built on top of the Kbd component, the Shortcut component will help you display a keyboard shortcut in your content.
K
:shortcut{value="K"}
You can also specify the meta
key to automatically display either ⌘
or Ctrl
based on the platform.
K
:shortcut{value="meta"} :shortcut{value="K"}
Props
valuerequired
string