Skip to content

Sun

The sun icon represents light mode and brightness controls in theme switching and display settings.

Exports at 24 × 24 px

Sun icon from Lucide
Get Pro

Code

Sun in your framework

In any framework. Customize it above, and the code follows.

export const SunIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"/></g>
  </svg>
);

Other libraries

Sun in 8 more libraries

Each library draws it its own way. Open one to compare.

  • Sun icon from Phosphor
  • Sun icon from Tabler Icons
  • Sun icon from Game Icons
  • Sun icon from IconPark Outline
  • Sun icon from Myna UI Icons
  • Sun icon from Carbon
  • Sun icon from Bootstrap Icons
  • Sun icon from Font Awesome Solid

Lucide

Icons that share its tags, in the same style.

  • Contrast icon from Lucide
  • Sun Dim icon from Lucide
  • Sun Medium icon from Lucide
  • Cloud Sun icon from Lucide
  • Cloud Sun Rain icon from Lucide
  • Flashlight icon from Lucide
  • Sun Moon icon from Lucide
  • Wallpaper icon from Lucide
  • Airplay icon from Lucide
  • Calendar  1 icon from Lucide
  • Captions icon from Lucide
  • Eclipse icon from Lucide
  • Eye icon from Lucide
  • Feather icon from Lucide
  • Lamp icon from Lucide
  • List icon from Lucide
  • Maximize icon from Lucide
  • Monitor icon from Lucide
  • Monitor Cog icon from Lucide
  • Monitor Pause icon from Lucide
  • Monitor Play icon from Lucide
  • Monitor Up icon from Lucide
  • Moon icon from Lucide
  • Mouse Pointer  2 icon from Lucide

Skip the copy and paste. With Pro, your AI agent finds and installs any Lucide icon from a prompt.

Get Pro

Pricing

Lucide MCP, with Pro

Ask for Sun or any of 1,655 Lucide icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Sun icon means and where it's used, then how to install, style, label and license it.

What does the Sun icon mean?

The sun icon represents light mode and brightness controls in theme switching and display settings. Featuring a sun with radiating rays, this symbol indicates light theme activation, brightness adjustment, and the day mode that provides bright backgrounds and dark text for optimal daytime viewing across applications and operating systems.

Where is the Sun icon used?

In theme switcher interfaces across websites and applications, users toggle this icon to activate light mode and switch from dark themes. Operating system display settings implement it for brightness controls, while reading applications such as Kindle and Apple Books display it for activating bright reading modes optimized for well-lit environments.

What does the Sun icon tell users?

The sun symbol communicates more than brightness - it specifically represents the light theme preference, the daytime color scheme that distinguishes bright interfaces from dark mode alternatives, and the accessibility option that some users prefer for readability. This universal icon helps users control their visual experience.

Which library is the Sun icon from?

Sun is one of 1,655 icons in Lucide, made by Lucide Contributors and released under ISC. It is drawn on a 24 × 24 grid with a 2 stroke.

4.9 out of 5 from 150+ developers

Install Sun from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro
  • Cancel anytime
  • Keep what you've shipped