Sun icon
A sun with rays, for light mode, sunny weather and daytime.
About the sun icon
Sun is one of 37 icons in Weather, drawn next to moon and cloud. The Line styles draw it with 9 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 is one of the 200 free icons, so you can use it in personal and client work at no cost. Copy it above, download the file, or get it from the free React package.
- Name
- sun
- Category
- Weather
- Styles
- Rounded and Sharp, Line and Solid
- React
- Sun, SunIcon
- License
- Free, commercial use
- Also called
- light mode, sunny, day, brightness
Use the sun icon
React
@neaticons/react exports it as Sun. It is in the free edition on npm, no key needed.
import { Sun } from "@neaticons/react"
import { Sun as SunSolid } from "@neaticons/react/rounded-solid"
import SunSharp from "@neaticons/react/sharp-stroke/sun"
<Sun size={24} />
<SunSolid color="#0A84FF" title="Sun" />SVG
The free zip has it as sun.svg in each style folder. Or take one file:
/icons/svg/rounded-stroke/sun.svg /icons/svg/rounded-solid/sun.svg /icons/svg/sharp-stroke/sun.svg /icons/svg/sharp-solid/sun.svg
Figma
It is in the free Community file, on the Icons page under Weather. It is one component set named sun: 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” returns sun first, then the agent pulls the code. The MCP comes with Personal and Team. Set it up.
search_icons({ query: "sun" })
get_icon({ name: "sun", style: "rounded-solid", format: "jsx" })