ICONYZ
English
Moon icon from Pepicons

Moon icon

pepicons:moon

The Moon icon (pepicons:moon) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons 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
Pepicons
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M8.764 6.128a4.506 4.506 0 0 1 2.6-3.196c.93-.41.727-1.784-.281-1.908C6.47.458 2.162 3.522 1.188 8.102c-1.035 4.87 2.067 9.656 6.93 10.69c4.862 1.033 9.642-2.078 10.677-6.947a9.045 9.045 0 0 0 .195-2.166c-.032-1.019-1.388-1.343-1.877-.449a4.504 4.504 0 0 1-4.885 2.245a4.505 4.505 0 0 1-3.464-5.347Zm-.23 10.707c-3.782-.803-6.195-4.527-5.39-8.317a7.022 7.022 0 0 1 4.727-5.23a6.512 6.512 0 0 0-1.063 2.424c-.747 3.516 1.493 6.973 5.005 7.72a6.487 6.487 0 0 0 4.636-.752c-1.273 3.053-4.57 4.867-7.916 4.155Z" clip-rule="evenodd"/></svg>

How to use the Moon icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Pepicons

Moon icon in other icon sets

Moon icon FAQ

Is the Moon icon free for commercial use?

Yes. Pepicons 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="pepicons: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/pepicons/moon.svg" alt="Moon icon">, or paste the SVG code inline to style it with CSS.

Browse all Pepicons →