Moon icon
andrsrxn:moon
The Moon icon (andrsrxn:moon) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Nature, Weather
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M12.44 21.6a9.96 9.96 0 0 1-9.96-9.95c0-5.5 3.57-8.3 6.12-8.93c0 0-1.56 5.29 2.43 10.2c4.79 4.8 10.48.75 10.7 1.68c.22.94-3.8 7-9.3 7" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.48 11.65a9.96 9.96 0 0 0 18.96 4.24c.4-.83.6-1.25.38-1.5c-.22-.24-.72-.08-1.72.25c-2.33.77-6.18 1.35-9.15-1.63a8.2 8.2 0 0 1-2.13-8.59c.36-1.17.53-1.76.27-1.97c-.27-.21-.72.05-1.63.57a10 10 0 0 0-4.98 8.63"/></g></svg>How to use the Moon icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:moon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:moon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:moon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--moon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:moon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:moon"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/moon.svg" alt="Moon icon" width="24" height="24">Related icons in andrsrxn/icons
Moon icon in other icon sets
Moon icon FAQ
Is the Moon icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/moon.svg" alt="Moon icon">, or paste the SVG code inline to style it with CSS.