ICONYZ
English
Moon Star icon from Boxicons

Moon Star icon

boxicons:moon-star

The Moon Star icon (boxicons:moon-star) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
moonstar
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20.71 13.51c-.78.23-1.58.35-2.38.35c-4.52 0-8.2-3.68-8.2-8.2c0-.8.12-1.6.35-2.38a1.002 1.002 0 0 0-1.25-1.25A10.17 10.17 0 0 0 2 11.8C2 17.42 6.57 22 12.2 22c4.53 0 8.45-2.91 9.76-7.24c.11-.35.01-.74-.25-1s-.64-.36-1-.25M12.2 20C7.68 20 4 16.32 4 11.8a8.15 8.15 0 0 1 4.18-7.15c-.03.34-.05.68-.05 1.02c0 5.62 4.57 10.2 10.2 10.2c.34 0 .68-.02 1.02-.05C17.93 18.38 15.23 20 12.2 20"/><path fill="currentColor" d="m18 2l-1.25 2.75L14 6l2.75 1.25L18 10l1.25-2.75L22 6l-2.75-1.25z"/></svg>

How to use the Moon Star icon

React

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

<Icon icon="boxicons:moon-star" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:moon-star" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:moon-star" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:moon-star"></iconify-icon>

HTML image

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

Related icons in Boxicons

Moon Star icon in other icon sets

Moon Star icon FAQ

Is the Moon Star icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Moon Star icon in React?

Install @iconify/react and render <Icon icon="boxicons:moon-star" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Moon Star icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/moon-star.svg" alt="Moon Star icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →