Skip to content

Sun

The sun icon represents light mode, brightness controls, and daytime theme features in settings and theme applications.

Exports at 24 × 24 px

Sun icon from Akar Icons
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" strokeWidth="2"><path d="M12 3V2m0 20v-1m9-9h1M2 12h1m15.5-6.5L20 4M4 20l1.5-1.5M4 4l1.5 1.5m13 13L20 20"/><circle cx="12" cy="12" r="4"/></g>
  </svg>
);

Akar Icons

Icons that share its tags, then the ones next to it in Akar Icons, in the same style.

  • Flashlight icon from Akar Icons
  • Moon icon from Akar Icons
  • Arrow Shuffle icon from Akar Icons
  • Glasses icon from Akar Icons
  • Plane icon from Akar Icons
  • Slice icon from Akar Icons
  • Sort icon from Akar Icons
  • Sound Down icon from Akar Icons
  • Sound Off icon from Akar Icons
  • Sound On icon from Akar Icons
  • Sound Up icon from Akar Icons
  • Sparkles icon from Akar Icons
  • Square icon from Akar Icons
  • Star icon from Akar Icons
  • Statistic Down icon from Akar Icons
  • Statistic Up icon from Akar Icons
  • Stop icon from Akar Icons
  • Sword icon from Akar Icons
  • Tablet Device icon from Akar Icons
  • Tag icon from Akar Icons
  • Telescope icon from Akar Icons
  • Tetragon icon from Akar Icons
  • Text Align Center icon from Akar Icons
  • Text Align Justified icon from Akar Icons

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

Get Pro

Pricing

Akar Icons MCP, with Pro

Ask for Sun or any of 458 Akar Icons 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.

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