Moon icon
lets-icons:moon
The Moon icon (lets-icons:moon) is a free SVG icon from the Lets Icons set by Leonid Tsvetkov. It is drawn on a 24 × 24 grid. Lets 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
- Lets Icons
- Author
- Leonid Tsvetkov
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Weather
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m16.164 18.51l.872-.49zm-.586 1.448L15.292 19zm-.14-13.709l.696.719zm.726-.76l.872.49zm-.586-1.447L15.292 5zM14 12c0-1.975.817-3.758 2.134-5.032l-1.39-1.438A8.98 8.98 0 0 0 12 12zm2.134 5.032A6.98 6.98 0 0 1 14 12h-2a8.98 8.98 0 0 0 2.744 6.47zM15 19a7 7 0 0 1-7-7H6a9 9 0 0 0 9 9zm-7-7a7 7 0 0 1 7-7V3a9 9 0 0 0-9 9zm6.744 6.47c.222.215.372.36.477.468l.096.104c.019.022 0 .004-.025-.042l1.744-.98a2.4 2.4 0 0 0-.381-.476c-.131-.135-.308-.306-.52-.512zM15 21c.236 0 .552.01.864-.084L15.292 19c.028-.008.039-.006-.004-.004A6 6 0 0 1 15 19zm.292-2l.572 1.916a2 2 0 0 0 1.172-2.896zm.842-12.032c.213-.206.39-.377.52-.512c.112-.114.273-.284.382-.476L15.292 5c.026-.046.044-.064.025-.041a2 2 0 0 1-.096.103c-.105.108-.255.253-.477.468zM15 5c.157 0 .233 0 .288.004c.043.002.032.004.004-.004l.572-1.916C15.552 2.99 15.236 3 15 3zm2.036.98a2 2 0 0 0-1.172-2.896L15.292 5z"/></svg>How to use the Moon icon
React
import { Icon } from "@iconify/react";
<Icon icon="lets-icons:moon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lets-icons:moon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lets-icons:moon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lets-icons--moon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lets-icons -->
<div class="i-lets-icons:moon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lets-icons:moon"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lets-icons/moon.svg" alt="Moon icon" width="24" height="24">Related icons in Lets Icons
Moon icon in other icon sets
Moon icon FAQ
Is the Moon icon free for commercial use?
Yes. Lets 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 Moon icon in React?
Install @iconify/react and render <Icon icon="lets-icons:moon" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Moon icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lets-icons/moon.svg" alt="Moon icon">, or paste the SVG code inline to style it with CSS.