About
An animated heart icon that pulses with a scale bounce on hover, useful for like/favorite buttons in a UI.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Heart Icon to your project and fits it to your theme.
Code
How Heart Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { HeartIcon } from "@/components/ui/hu-heart";
export default function HeartIconDemo() {
return (
<div className="flex min-h-[200px] w-full items-center justify-center">
<HeartIcon size={48} className="text-foreground" />
</div>
);
}







