Skip to content

Light Dark

The light-dark icon represents a switch between light and dark modes, symbolizing customization and accessibility.

Exports at 24 × 24 px

Light Dark icon from Material Line Icons
Get Pro

Code

Light Dark in your framework

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

export const LightDarkIcon = (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}>
    <defs><mask id="SVG2oZHmemU"><circle cx="7.5" cy="7.5" r="5.5" fill="#fff"/><circle cx="7.5" cy="7.5" r="5.5"><animate fill="freeze" attributeName="cx" dur="0.4s" values="7.5;11"/><animate fill="freeze" attributeName="r" dur="0.4s" values="5.5;6.5"/></circle></mask><mask id="SVGUNc3sb9c"><g fill="#fff"><circle cx="12" cy="9" r="5.5"><animate fill="freeze" attributeName="cy" begin="1s" dur="0.5s" values="9;15"/></circle><g fillOpacity="0"><use href="#SVGVFoRVwOl" transform="rotate(-75 12 15)"/><use href="#SVGVFoRVwOl" transform="rotate(-25 12 15)"/><use href="#SVGVFoRVwOl" transform="rotate(25 12 15)"/><use href="#SVGVFoRVwOl" transform="rotate(75 12 15)"/><set fill="freeze" attributeName="fill-opacity" begin="1.5s" to="1"/></g></g><path d="M0 10h26v5h-26z"/><path stroke="#fff" strokeDasharray="26" strokeDashoffset="26" strokeWidth="2" d="M23 12h-22"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.4s" values="26;0"/></path></mask><symbol id="SVGVFoRVwOl"><path d="M11 18h2L12 20z" opacity="0"><animate fill="freeze" attributeName="d" begin="1.5s" dur="0.4s" values="M11 18h2L12 20z;M10.5 21.5h3L12 24z"/><set fill="freeze" attributeName="opacity" begin="1.5s" to="1"/></path></symbol></defs><g fill="currentColor"><rect width="13" height="13" x="1" y="1" mask="url(#SVG2oZHmemU)"/><path d="M-2 11h28v13h-28z" mask="url(#SVGUNc3sb9c)" transform="rotate(-45 12 12)"/></g>
  </svg>
);

Other libraries

Light Dark in 1 more libraries

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

Material Line Icons

Icons that share its tags, in the same style.

  • Light Dark Loop icon from Material Line Icons
  • Folder Settings icon from Material Line Icons
  • Menu icon from Material Line Icons
  • Menu Fold Left icon from Material Line Icons
  • Menu Fold Right icon from Material Line Icons
  • Menu To Close Alt Transition icon from Material Line Icons
  • Arrow Left Square icon from Material Line Icons
  • Arrow Open Down icon from Material Line Icons
  • Arrow Open Left icon from Material Line Icons
  • Arrow Open Right icon from Material Line Icons
  • Arrow Open Up icon from Material Line Icons
  • Arrow Right icon from Material Line Icons
  • Arrow Right Circle icon from Material Line Icons
  • Chevron Double Right icon from Material Line Icons
  • Chevron Double Up icon from Material Line Icons
  • Chevron Down icon from Material Line Icons
  • Chevron Down Circle icon from Material Line Icons
  • Chevron Down Square icon from Material Line Icons
  • Chevron Left icon from Material Line Icons
  • Chevron Left Circle icon from Material Line Icons
  • Confirm Square icon from Material Line Icons
  • Construction icon from Material Line Icons
  • Cookie icon from Material Line Icons
  • Cookie Check icon from Material Line Icons

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

Get Pro

Pricing

Material Line Icons MCP, with Pro

Ask for Light Dark or any of 1,093 Material Line 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 Light Dark 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 Light Dark from a prompt

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

Get Pro