Kbd
Loading example…
A keyboard key or shortcut hint (⌘K, Esc). Purely presentational: put it next to the
action’s label, never as the only way to tell what a control does.
Import
Section titled “Import”import { Kbd } from "@jcsoftdev/ui/atoms";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/atoms/kbd.
<Kbd> ⌘K</Kbd>This component declares no props of its own.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/atoms/kbd/kbd.tsx