# SunIcon

> 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 icon for React — part of lucide-animated.

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

## Install

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

## Usage

```tsx
import { SunIcon } from "@/components/icons/sun";

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

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

## Keywords

- brightness
- weather
- light
- summer

## Similar icons

- [CloudSunIcon](https://lucide-animated.com/icons/cloud-sun.md)
- [ContrastIcon](https://lucide-animated.com/icons/contrast.md)
- [SunDimIcon](https://lucide-animated.com/icons/sun-dim.md)
- [SunMediumIcon](https://lucide-animated.com/icons/sun-medium.md)
- [CloudDownloadIcon](https://lucide-animated.com/icons/cloud-download.md)
- [CloudLightningIcon](https://lucide-animated.com/icons/cloud-lightning.md)
