About
Displays keyboard input or shortcut keys with customizable styles and sizes.
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 } from '@/components/ui/kbd-1';
import { ArrowDown, ArrowUp, Command } from 'lucide-react';
export default function ButtonDemo() {
return (
<div className="flex items-center gap-4">
<Kbd>
<ArrowUp />
</Kbd>
<Kbd>
<ArrowDown />
</Kbd>
<Kbd>space</Kbd>
<Kbd>
<Command /> +K
</Kbd>
</div>
);
}








