ICONYZ
English
Moon icon from OOUI

Moon icon

ooui:moon

The Moon icon (ooui:moon) is a free SVG icon from the OOUI set by OOUI Team. It is drawn on a 20 × 20 grid. OOUI icons 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
OOUI
Author
OOUI Team
License
MIT
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" d="M11.426 2.525c-1.287 2.085-1.379 4.72 0 6.948c1.385 2.239 3.924 3.522 6.575 3.525l.85 1.525a9.27 9.27 0 0 1-3.515 3.285c-4.54 2.445-10.375 1.018-13.037-3.283C-.39 10.18 1.24 4.657 5.814 2.191A10 10 0 0 1 10.577 1zm-2.511.644a8 8 0 0 0-2.153.783C3.137 5.905 1.954 10.166 4 13.472c2.073 3.352 6.726 4.547 10.387 2.575a7.5 7.5 0 0 0 1.687-1.236c-2.562-.496-4.916-1.97-6.35-4.286a8.5 8.5 0 0 1-.81-7.356Z"/></svg>

How to use the Moon icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Browse all OOUI icons →