# V kbd 3

> Keys grouped together

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-kbd-3).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-kbd-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-kbd-3-light-170eb163a43f8be7.png
- Registry item: https://ui.cnippet.dev/r/v-kbd-3.json
- Categories: kbd
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-kbd-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/kbd`

## Files

### `registry/default/variants/v-kbd-3.tsx`

```tsx
import { Kbd, KbdGroup } from "@/registry/default/ui/kbd";

export function Pattern() {
  return (
    <div className="flex items-center justify-center">
      <KbdGroup>
        <Kbd>Ctrl</Kbd>
        <Kbd>Shift</Kbd>
        <Kbd>P</Kbd>
      </KbdGroup>
    </div>
  );
}
```
