ICONYZ
English
Moon icon from Element Plus

Moon icon

ep:moon

The Moon icon (ep:moon) is a free SVG icon from the Element Plus set. It is drawn on a 1024 × 1024 grid. Element Plus 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
Element Plus
Author
Element Plus
License
MIT
Size
1024 × 1024
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M240.4 240.4A384 384 0 1 0 800 766.1a448 448 0 0 1-542-542a391 391 0 0 0-17.5 16.3m181.1 362.1a384 384 0 0 0 525.6 16.4a448 448 0 1 1-542-542.1a384 384 0 0 0 16.4 525.7"/></svg>

How to use the Moon icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Element Plus

Moon icon in other icon sets

Moon icon FAQ

Is the Moon icon free for commercial use?

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

Browse all Element Plus icons →