--- title: Kbd description: A component for displaying keyboard keys and shortcuts. --- ## Installation CLI Manual ```bash npx shadcn@latest add @coss/kbd ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { Kbd, KbdGroup } from "@/components/ui/kbd" ``` Single key: ```tsx K ``` Multiple keys (key combination): ```tsx K ``` ## API Reference ### Kbd Displays a single keyboard key. | Prop | Type | Default | | ----------- | -------- | ------- | | `className` | `string` | | ### KbdGroup Groups multiple keyboard keys for key combinations. | Prop | Type | Default | | ----------- | -------- | ------- | | `className` | `string` | | ## Examples ### Input Group