---
title: Kbd
description: A component for displaying keyboard keys and shortcuts.
---
## Preview
## Installation
CLI
Manual
```bash
npx @olyx/cli@latest add 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.
#### KbdGroup
Groups multiple keyboard keys for key combinations.
## Examples
### Input Group