ICONYZ
English
Moon icon from Font Awesome Regular

Moon icon

fa7-regular:moon

The Moon icon (fa7-regular:moon) is a free SVG icon from the Font Awesome Regular set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Regular 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
Font Awesome Regular
Author
Dave Gandy
License
CC-BY-4.0
Size
640 × 640
Category
Objects, Weather, Science Fiction
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M303.3 112.7C196.2 121.2 112 210.8 112 320c0 114.9 93.1 208 208 208c33.3 0 64.7-7.8 92.6-21.7C309.2 482.9 232 390.5 232 280c0-65.8 27.4-125.1 71.3-167.3M64 320C64 178.6 178.6 64 320 64c19.4 0 38.4 2.2 56.7 6.3c9.9 2.2 17.3 10.5 18.5 20.5s-4 19.8-13.1 24.4C321.5 145.4 280 207.9 280 280c0 101.6 82.4 184 184 184c5 0 9.9-.2 14.8-.6c10.1-.8 19.6 4.8 23.8 14.1s2 20.1-5.3 27.1C451.3 548.8 388.8 576 320 576C178.6 576 64 461.4 64 320"/></svg>

How to use the Moon icon

React

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

<Icon icon="fa7-regular:moon" width="24" />

Vue

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

<template>
  <Icon icon="fa7-regular:moon" width="24" />
</template>

Svelte

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

<Icon icon="fa7-regular:moon" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa7-regular:moon"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa7-regular/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. Font Awesome Regular 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="fa7-regular: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/fa7-regular/moon.svg" alt="Moon icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome Regular icons →