Kbd
A keyboard-key chip for shortcuts, with sizes and key-combo grouping.
utilityNew Releaseclass-variance-authority
Installation
$npx futureuikit add kbd
Import
import { Kbd } from "@/components/ui/kbd"
Layout Variant
Named Keys & Props
Pass these exact named keys as props on <Kbd />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)sizeComponent size"sm""md""lg"Usage Example
A basic implementation example to get you started.
Example Implementation
import { Kbd } from"@/components/ui/kbd";
export default function Example() {
return <Kbd />;
}Features
Key capabilities and highlights.
Key Capabilities
- ◆A keyboard-key chip for shortcuts, with sizes and key-combo grouping.
Notes
Important implementation details to consider.
Implementation Details
- ◆Install: Run 'npx futureuikit add kbd'.
- ◆Import: 'import { Kbd } from "@/components/ui/kbd";'