Dark Mode icon
material-symbols-light:dark-mode
The Dark Mode icon (material-symbols-light:dark-mode) is a free SVG icon from the Material Symbols Light set by Google. It is drawn on a 24 × 24 grid. Material Symbols Light icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Material Symbols Light
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Android
- Tags
- app, application, dark, device, interface, mode, moon, night, silent, theme, ui, ux, website, darkmode, dark mode sharp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12.058 20q-3.334 0-5.667-2.333T4.058 12q0-3.039 1.98-5.27t4.904-2.634q.081 0 .159.006t.153.017q-.506.706-.801 1.57T10.158 7.5q0 2.667 1.866 4.533t4.534 1.867q.951 0 1.813-.295t1.548-.801q.012.075.017.153t.006.159q-.384 2.923-2.615 4.903T12.057 20"/></svg>How to use the Dark Mode icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols-light:dark-mode" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols-light:dark-mode" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols-light:dark-mode" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols-light--dark-mode]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols-light -->
<div class="i-material-symbols-light:dark-mode"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols-light:dark-mode"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols-light/dark-mode.svg" alt="Dark Mode icon" width="24" height="24">Related icons in Material Symbols Light
Dark Mode icon in other icon sets
Dark Mode icon FAQ
Is the Dark Mode icon free for commercial use?
Yes. Material Symbols Light icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Dark Mode icon in React?
Install @iconify/react and render <Icon icon="material-symbols-light:dark-mode" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Dark Mode icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols-light/dark-mode.svg" alt="Dark Mode icon">, or paste the SVG code inline to style it with CSS.