Content
Kbd
Shows a keyboard key or shortcut in a small keycap.
Group: Content. Exports: Kbd. shadcn/ui equivalent: Kbd (matches).
Usage
import { Kbd } from "./halaska-kit";
Kbd props
childrenReactNode: Content.
Accessibility
- Renders a native kbd element.
- Symbols such as ⌘ may be read unevenly by screen readers, so spell the shortcut out in nearby text when it is essential.
Used in
Halaska UI · Components · Patterns · Screens · Install