Mode Dark icon
iconamoon:mode-dark
The Mode Dark icon (iconamoon:mode-dark) is a free SVG icon from the IconaMoon set by Dariush Habibpour. It is drawn on a 24 × 24 grid. IconaMoon icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- IconaMoon
- Author
- Dariush Habibpour
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- General
- Tags
- modedark
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m20.996 11.712l.999-.032a1 1 0 0 0-1.284-.927zm-8.707-8.707l.958.284a1 1 0 0 0-.927-1.284zm8.422 7.748A6 6 0 0 1 19 11v2a8 8 0 0 0 2.28-.33zM19 11a6 6 0 0 1-6-6h-2a8 8 0 0 0 8 8zm-6-6c0-.596.087-1.17.247-1.71l-1.917-.57A8 8 0 0 0 11 5zm-1-1q.13 0 .257.004l.063-1.999A10 10 0 0 0 12 2zm-8 8a8 8 0 0 1 8-8V2C6.477 2 2 6.477 2 12zm8 8a8 8 0 0 1-8-8H2c0 5.523 4.477 10 10 10zm8-8a8 8 0 0 1-8 8v2c5.523 0 10-4.477 10-10zm-.004-.257Q20 11.87 20 12h2q0-.16-.005-.32z"/></svg>How to use the Mode Dark icon
React
import { Icon } from "@iconify/react";
<Icon icon="iconamoon:mode-dark" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="iconamoon:mode-dark" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="iconamoon:mode-dark" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[iconamoon--mode-dark]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/iconamoon -->
<div class="i-iconamoon:mode-dark"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="iconamoon:mode-dark"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/iconamoon/mode-dark.svg" alt="Mode Dark icon" width="24" height="24">Related icons in IconaMoon
Mode Dark icon in other icon sets
Mode Dark icon FAQ
Is the Mode Dark icon free for commercial use?
Yes. IconaMoon icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Mode Dark icon in React?
Install @iconify/react and render <Icon icon="iconamoon:mode-dark" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Mode Dark icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconamoon/mode-dark.svg" alt="Mode Dark icon">, or paste the SVG code inline to style it with CSS.