# SunMoonIcon

> For the complete documentation index, see [llms.txt](https://lucide-animated.com/llms.txt). Per-icon markdown is at `https://lucide-animated.com/icons/<name>.md`. An MCP server is available at `https://lucide-animated.com/mcp`.

> Animated sun moon icon for React — part of lucide-animated.

Source page: https://lucide-animated.com/icons/sun-moon

## Install

```bash
npx shadcn@latest add "https://lucide-animated.com/r/sun-moon.json"
```

## Usage

```tsx
import { SunMoonIcon } from "@/components/icons/sun-moon";

export function Demo() {
  return <SunMoonIcon className="size-6" />;
}
```

The component animates on hover by default. All standard SVG props are forwarded.

## Keywords

- sun
- moon
- day
- night
- evening

## Similar icons

- [MoonIcon](https://lucide-animated.com/icons/moon.md)
- [SunDimIcon](https://lucide-animated.com/icons/sun-dim.md)
- [SunMediumIcon](https://lucide-animated.com/icons/sun-medium.md)
- [SunsetIcon](https://lucide-animated.com/icons/sunset.md)
- [CalendarCogIcon](https://lucide-animated.com/icons/calendar-cog.md)
- [CloudSunIcon](https://lucide-animated.com/icons/cloud-sun.md)
