dark mode icon
dark-mode from Material Symbols by Google · Regular · Android · Apache-2.0 Free for personal and commercial use.
- Name
- dark-mode
- Set
- Material Symbols
- Style
- Regular
- Category
- Android
- Viewbox
- 24×24
- License
- Apache 2.0
- Aliases
- dark-mode-sharp
3 other variants in Material Symbols
The same icon in other sets
More android icons from Material Symbols
1x-mobiledata1x-mobiledata-badge3g-mobiledata3g-mobiledata-badge4g-mobiledata4g-mobiledata-badge4g-plus-mobiledata5g5g-mobiledata-badgeadbairplanemode-inactiveandroidandroid-cell-4-barandroid-cell-4-bar-alertandroid-cell-4-bar-offandroid-cell-4-bar-plusandroid-cell-5-barandroid-cell-5-bar-alertandroid-cell-5-bar-offandroid-cell-5-bar-plusandroid-cell-dual-4-barandroid-cell-dual-4-bar-alertandroid-cell-dual-4-bar-plusandroid-cell-dual-5-bar
Use the dark mode icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 21q-3.75 0-6.375-2.625T3 12t2.625-6.375T12 3q.35 0 .688.025t.662.075q-1.025.725-1.638 1.888T11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q1.375 0 2.525-.613T20.9 10.65q.05.325.075.662T21 12q0 3.75-2.625 6.375T12 21"/></svg>
React
import type { SVGProps } from "react";
export function MaterialSymbolsDarkMode(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 21q-3.75 0-6.375-2.625T3 12t2.625-6.375T12 3q.35 0 .688.025t.662.075q-1.025.725-1.638 1.888T11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q1.375 0 2.525-.613T20.9 10.65q.05.325.075.662T21 12q0 3.75-2.625 6.375T12 21"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 21q-3.75 0-6.375-2.625T3 12t2.625-6.375T12 3q.35 0 .688.025t.662.075q-1.025.725-1.638 1.888T11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q1.375 0 2.525-.613T20.9 10.65q.05.325.075.662T21 12q0 3.75-2.625 6.375T12 21"/></svg> </template>
CSS
.icon-dark-mode {
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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%2021q-3.75%200-6.375-2.625T3%2012t2.625-6.375T12%203q.35%200%20.688.025t.662.075q-1.025.725-1.638%201.888T11.1%207.5q0%202.25%201.575%203.825T16.5%2012.9q1.375%200%202.525-.613T20.9%2010.65q.05.325.075.662T21%2012q0%203.75-2.625%206.375T12%2021%22%2F%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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%2021q-3.75%200-6.375-2.625T3%2012t2.625-6.375T12%203q.35%200%20.688.025t.662.075q-1.025.725-1.638%201.888T11.1%207.5q0%202.25%201.575%203.825T16.5%2012.9q1.375%200%202.525-.613T20.9%2010.65q.05.325.075.662T21%2012q0%203.75-2.625%206.375T12%2021%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols/dark-mode.svg?color=%231a73e8&size=48