About
An animated moon-and-star icon that rotates the moon and spins/scales the star on hover, with imperative start/stop animation controls.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Moon Star Icon to your project and fits it to your theme.
Code
How Moon Star Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { MoonStarIcon } from "@/components/ui/lu-moon-star";
export default function MoonStarIconDemo() {
return (
<div className="flex items-center justify-center w-full h-screen">
<MoonStarIcon size={64} duration={1} />
</div>
);
}







