light dark icon
light-dark from Material Line Icons by Vjacheslav Trushkin · Line · Interface · MIT Free for personal and commercial use.
- Name
- light-dark
- Set
- Material Line Icons
- Style
- Line
- Category
- Interface
- Viewbox
- 24×24
- License
- MIT
More interface icons from Material Line Icons
backup-restorecancelcancel-twotonecheck-allcirclecircle-filledcircle-filled-to-confirm-circle-filled-transitioncircle-to-confirm-circle-transitioncircle-to-confirm-circle-twotone-transitioncircle-twotonecircle-twotone-to-confirm-circle-transitioncircle-twotone-to-confirm-circle-twotone-transitioncloseclose-circleclose-circle-filledclose-circle-twotoneclose-smallclose-squareclose-square-filledclose-square-twotonecogcog-filledcog-filled-loopcog-loop
Use the light dark icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><defs><mask id="SVGPWNvGc7L"><circle cx="7.5" cy="7.5" r="5.5" fill="#fff"/><circle cx="11" cy="7.5" r="6.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="SVGOgqevdhu"><g fill="#fff"><circle cx="12" cy="9" r="5.5" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="cy" begin="0.9s" dur="0.5s" to="15"/></circle><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-120 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-70 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-20 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(30 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path></g><path d="M-4.97 12l18.38 -18.38l10.61 10.61l-18.38 18.38Z"/></mask></defs><g fill="currentColor"><path d="M0 0h24v24H0z" mask="url(#SVGPWNvGc7L)"/><path d="M0 0h24v24H0z" mask="url(#SVGOgqevdhu)"/></g><path fill="none" stroke="currentColor" stroke-dasharray="24" stroke-dashoffset="24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M23 12h-22" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.3s" to="0"/></path></svg>
React
import type { SVGProps } from "react";
export function LineMdLightDark(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><defs><mask id="SVGPWNvGc7L"><circle cx="7.5" cy="7.5" r="5.5" fill="#fff"/><circle cx="11" cy="7.5" r="6.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="SVGOgqevdhu"><g fill="#fff"><circle cx="12" cy="9" r="5.5" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="cy" begin="0.9s" dur="0.5s" to="15"/></circle><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-120 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-70 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-20 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(30 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path></g><path d="M-4.97 12l18.38 -18.38l10.61 10.61l-18.38 18.38Z"/></mask></defs><g fill="currentColor"><path d="M0 0h24v24H0z" mask="url(#SVGPWNvGc7L)"/><path d="M0 0h24v24H0z" mask="url(#SVGOgqevdhu)"/></g><path fill="none" stroke="currentColor" strokeDasharray="24" strokeDashoffset="24" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M23 12h-22" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="strokeDashoffset" begin="0.5s" dur="0.3s" to="0"/></path></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><defs><mask id="SVGPWNvGc7L"><circle cx="7.5" cy="7.5" r="5.5" fill="#fff"/><circle cx="11" cy="7.5" r="6.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="SVGOgqevdhu"><g fill="#fff"><circle cx="12" cy="9" r="5.5" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="cy" begin="0.9s" dur="0.5s" to="15"/></circle><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-120 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-70 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-20 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(30 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path></g><path d="M-4.97 12l18.38 -18.38l10.61 10.61l-18.38 18.38Z"/></mask></defs><g fill="currentColor"><path d="M0 0h24v24H0z" mask="url(#SVGPWNvGc7L)"/><path d="M0 0h24v24H0z" mask="url(#SVGOgqevdhu)"/></g><path fill="none" stroke="currentColor" stroke-dasharray="24" stroke-dashoffset="24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M23 12h-22" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.3s" to="0"/></path></svg> </template>
CSS
.icon-light-dark {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cdefs%3E%3Cmask%20id%3D%22SVGPWNvGc7L%22%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%227.5%22%20r%3D%225.5%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%227.5%22%20r%3D%226.5%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22cx%22%20dur%3D%220.4s%22%20values%3D%227.5%3B11%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22r%22%20dur%3D%220.4s%22%20values%3D%225.5%3B6.5%22%2F%3E%3C%2Fcircle%3E%3C%2Fmask%3E%3Cmask%20id%3D%22SVGOgqevdhu%22%3E%3Cg%20fill%3D%22%23fff%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%225.5%22%20transform%3D%22rotate(-45%2012%2012)%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22cy%22%20begin%3D%220.9s%22%20dur%3D%220.5s%22%20to%3D%2215%22%2F%3E%3C%2Fcircle%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(-120%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(-70%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(-20%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(30%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3C%2Fg%3E%3Cpath%20d%3D%22M-4.97%2012l18.38%20-18.38l10.61%2010.61l-18.38%2018.38Z%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20mask%3D%22url(%23SVGPWNvGc7L)%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20mask%3D%22url(%23SVGOgqevdhu)%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-dasharray%3D%2224%22%20stroke-dashoffset%3D%2224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M23%2012h-22%22%20transform%3D%22rotate(-45%2012%2012)%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.5s%22%20dur%3D%220.3s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cdefs%3E%3Cmask%20id%3D%22SVGPWNvGc7L%22%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%227.5%22%20r%3D%225.5%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%227.5%22%20r%3D%226.5%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22cx%22%20dur%3D%220.4s%22%20values%3D%227.5%3B11%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22r%22%20dur%3D%220.4s%22%20values%3D%225.5%3B6.5%22%2F%3E%3C%2Fcircle%3E%3C%2Fmask%3E%3Cmask%20id%3D%22SVGOgqevdhu%22%3E%3Cg%20fill%3D%22%23fff%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%225.5%22%20transform%3D%22rotate(-45%2012%2012)%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22cy%22%20begin%3D%220.9s%22%20dur%3D%220.5s%22%20to%3D%2215%22%2F%3E%3C%2Fcircle%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(-120%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(-70%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(-20%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12.62%2020.62h3l-1.5%202.5Z%22%20opacity%3D%220%22%20transform%3D%22rotate(30%2014.12%2014.12)%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221.4s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221.4s%22%20dur%3D%220.4s%22%20values%3D%22M13.12%2017.12h2l-1%202Z%3BM12.62%2020.62h3l-1.5%202.5Z%22%2F%3E%3C%2Fpath%3E%3C%2Fg%3E%3Cpath%20d%3D%22M-4.97%2012l18.38%20-18.38l10.61%2010.61l-18.38%2018.38Z%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20mask%3D%22url(%23SVGPWNvGc7L)%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20mask%3D%22url(%23SVGOgqevdhu)%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-dasharray%3D%2224%22%20stroke-dashoffset%3D%2224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M23%2012h-22%22%20transform%3D%22rotate(-45%2012%2012)%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.5s%22%20dur%3D%220.3s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/line-md/light-dark.svg?color=%231a73e8&size=48