Preview the component on Storybook
npm i @umbraco-ui/uui-keyboard-shortcut
Import the registration of <uui-keyboard-shortcut>
via:
import '@umbraco-ui/uui-keyboard-shortcut';
When looking to leverage the UUIKeyboardShortcutElement
base class as a type and/or for extension purposes, do so via:
import { UUIKeyboardShortcutElement } from '@umbraco-ui/uui-keyboard-shortcut';
<uui-keyboard-shortcut>
<uui-key>ALT</uui-key>
+
<uui-key>shift</uui-key>
+
<uui-key>↑</uui-key>
+
<uui-key>z</uui-key>
</uui-keyboard-shortcut>