About
A full on-screen mechanical keyboard that highlights keys as the user types and plays synthesized mechanical click sounds, with an onKeyPress callback for building keystroke-driven UI.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Keyboard to your project and fits it to your theme.
Code
How Keyboard is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import Keyboard from "@/components/ui/keyboard";
export default function KeyboardDemo() {
return (
<div className="flex w-full items-center justify-center p-4">
<Keyboard className="mx-auto" />
</div>
);
}




