Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Kbd

Keyboard keys and shortcuts. A raised keycap in Volume, a stamped block in Raw.

Display
⌘K
Props
$ pnpm dlx shadcn@latest add @dumb/kbd

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { Kbd, KbdGroup } from "@/components/ui/kbd"
<KbdGroup>
  <Kbd>⌘</Kbd>
  <Kbd>K</Kbd>
</KbdGroup>