About
A small keyboard key cap element for displaying keyboard shortcuts inline, with a grouping wrapper for combos like Cmd+K.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Kbd to your project and fits it to your theme.
Code
How Kbd is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Kbd, KbdGroup } from "@/components/ui/kbd";
export default function KbdDemo() {
return (
<div className="flex items-center gap-4">
<Kbd>Esc</Kbd>
<KbdGroup>
<Kbd>⌘</Kbd>
<Kbd>K</Kbd>
</KbdGroup>
</div>
);
}







