About
An animated piano glyph icon whose keys bounce in sequence on hover or via an imperative ref trigger, for use in toolbars, nav items, or music-related UI.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Piano Icon to your project and fits it to your theme.
Code
How Piano Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PianoIcon } from "@/components/ui/piano-icon";
export default function PianoIconDemo() {
return (
<div className="flex min-h-[200px] w-full items-center justify-center">
<PianoIcon size={64} duration={1} />
</div>
);
}






