Sun moon icon

A theme switch; toggling between light and dark mode.

  • theme
  • theme switch
  • dark mode
  • light mode
  • appearance
  • day night
  • toggle theme
  • auto theme
  • display mode
Customise in Bicon

Sun moon icon in 6 styles

Stroke
Solid
Duotone
Broken
Flat
3D

Use it in code

React

import { SunMoon } from '@hexline/bicon/react'; <SunMoon /> <SunMoon variant="duotone" size={20} />

Install with npm install @hexline/bicon. More for developers

SVG file

@hexline/bicon/svg/stroke/sun-moon.svg

Every style is in the package as svg/<style>/sun-moon.svg, and in the download.

Related icons

Free with credit under CC BY 4.0, for personal and commercial work. Credit Hexline Design Studio once, somewhere people can see it.

Icons by Bicon — Hexline Design Studio (https://hexline.design/), CC BY 4.0