About
An animated sparkles icon that twinkles with a scale-and-rotate motion on hover, useful for highlighting AI features, favorites, or "new" badges.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sparkles Icon to your project and fits it to your theme.
Code
How Sparkles Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SparklesIcon } from "@/components/ui/hu-sparkles";
export default function SparklesIconDemo() {
return (
<div className="flex h-full w-full items-center justify-center gap-4">
<SparklesIcon size={32} />
<span className="text-sm text-muted-foreground">Hover to animate</span>
</div>
);
}







