# sun-moon

The [sun-moon](https://lucide.dev/icons/sun-moon) icon is drawn by the [Lucide](https://lucide.dev) contributors and published under the [ISC license](https://lucide.dev/license). `@sdxc/icons` renders it as `SunMoonIcon`, from Lucide 1.61.0. If Lucide serves your app, [sponsor it](https://lucide.dev/sponsor).

Tags: dark, light, moon, sun, brightness, theme, auto theme, system theme, appearance.

## By component

```tsx
import { SunMoonIcon } from "@sdxc/icons";

<SunMoonIcon aria-hidden="true" />
```

## By name

```tsx
import { Icon } from "@sdxc/icons";

<Icon name="sun-moon" aria-hidden="true" />
```

## SVG

```html
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sun-moon" aria-hidden="true">
	<path d="M12 2v2" />
	<path d="M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715" />
	<path d="M16 12a4 4 0 0 0-4-4" />
	<path d="m19 5-1.256 1.256" />
	<path d="M20 12h2" />
</svg>
```
