Sun Moon icon
A crescent moon with sun rays, for a light and dark theme switch.
200 icons are free. Sun Moon is in the full set of 1,151.
- Rounded Line
- Rounded Solid
- Sharp Line
- Sharp Solid
About the sun moon icon
Sun Moon is one of 50 icons in Editing, drawn next to contrast and cube. The Line styles draw it with 4 shapes at a 1.5px stroke. The Solid styles fill it as one shape with nothing cut out. Rounded has soft corners and round line ends, Sharp has square ones, and all four line up on the same 24px grid, so switching style never moves anything.
It ships with the Personal and Team licenses: SVG files in all four styles, the Figma file, the React package and the MCP for AI agents. This page shows a small preview only.
- Name
- sun-moon
- Category
- Editing
- Styles
- Rounded and Sharp, Line and Solid
- React
- SunMoon, SunMoonIcon
- License
- Personal or Team
- Also called
- dark mode, light mode, theme, night mode, appearance
Use the sun moon icon
React
@neaticons/react exports it as SunMoon. It is in the full edition: add your seat key to .npmrc and install. How to set it up.
import { SunMoon } from "@neaticons/react"
import { SunMoon as SunMoonSolid } from "@neaticons/react/rounded-solid"
import SunMoonSharp from "@neaticons/react/sharp-stroke/sun-moon"
<SunMoon size={24} />
<SunMoonSolid color="#0A84FF" title="Sun Moon" />SVG
In the full zip it sits in one folder per style, colored #141B34 or with currentColor for code. Using the SVG files.
svg/rounded/stroke/sun-moon.svg svg/rounded/solid/sun-moon.svg svg/sharp/stroke/sun-moon.svg svg/sharp/solid/sun-moon.svg svg-currentcolor/rounded/stroke/sun-moon.svg
Figma
In the Neat Icons Figma file it sits on the Icons page under Editing. It is one component set named sun-moon: drop it in, then switch Family (Rounded, Sharp) and Style (Stroke, Solid) in the right panel. More on Figma.
MCP for AI agents
Ask your agent in plain words. A search for “sun moon” returns sun-moon first, then the agent pulls the code. The MCP comes with Personal and Team. Set it up.
search_icons({ query: "sun moon" })
get_icon({ name: "sun-moon", style: "rounded-solid", format: "jsx" })