About
An animated sun icon that rotates and pulses its rays on hover, for weather widgets, theme toggles, and brightness controls.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sun Icon to your project and fits it to your theme.
Code
How Sun Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SunIcon } from "@/components/ui/lu-sun-icon";
export default function SunIconDemo() {
return (
<div className="flex items-center justify-center p-10">
<SunIcon size={48} />
</div>
);
}






