SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

sun-moon

Rendered with SunMoonIcon, or <Icon name="sun-moon" /> when the name is data.

  • dark
  • light
  • moon
  • sun
  • brightness
  • theme
  • auto theme
  • system theme
  • appearance
By component
import { SunMoonIcon } from "@sdxc/icons";

<SunMoonIcon aria-hidden="true" />
By name
import { Icon } from "@sdxc/icons";

<Icon name="sun-moon" aria-hidden="true" />
SVG
<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>

Drawn by the Lucide contributors. See sun-moon on lucide.dev

API

Can’t find it? Contact us