ICONYZ
English
Moon icon from Icalicons

Moon icon

il:moon

The Moon icon (il:moon) is a free SVG icon from the Icalicons set by Icalia Labs. It is drawn on a 750 × 850 grid. Icalicons are released under the MIT 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
Icalicons
Author
Icalia Labs
License
MIT
Size
750 × 850
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="750" height="850" viewBox="0 0 750 850"><path fill="currentColor" d="M732 392q3-2 7-1t3 5q-4 76-36 142t-84 114t-122 74t-147 23q-71-4-133-33t-109-77t-77-109T1 397q-4-78 23-147t74-122t114-84T354 8q4 0 6 3t-2 7q-31 40-46 90t-8 106q5 45 25 85t51 71t71 51t85 25q56 7 106-8t90-46"/></svg>

How to use the Moon icon

React

import { Icon } from "@iconify/react";

<Icon icon="il:moon" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="il:moon" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="il:moon" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[il--moon]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/il -->
<div class="i-il:moon"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="il:moon"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/il/moon.svg" alt="Moon icon" width="24" height="24">

Moon icon in other icon sets

Moon icon FAQ

Is the Moon icon free for commercial use?

Yes. Icalicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Moon icon in React?

Install @iconify/react and render <Icon icon="il: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/il/moon.svg" alt="Moon icon">, or paste the SVG code inline to style it with CSS.

Browse all Icalicons →