ICONYZ
English
Moon Star icon from Keyline Icons

Moon Star icon

keyline-icons:moon-star

The Moon Star icon (keyline-icons:moon-star) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13C20 17.9706 15.9706 22 11 22C6.0294 22 2 17.9706 2 13C2 8.0294 6.0294 4 11 4C8.9618 6.5477 9.1652 10.2206 11.4723 12.5277C13.7794 14.8348 17.4523 15.0382 20 13ZM18.9689 2L18.9689 9M15.9378 3.75L22 7.25M22 3.75L15.9378 7.25"/></svg>

How to use the Moon Star icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="keyline-icons:moon-star"></iconify-icon>

HTML image

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

Related icons in Keyline Icons

Moon Star icon in other icon sets

Moon Star icon FAQ

Is the Moon Star icon free for commercial use?

Yes. Keyline Icons 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="keyline-icons: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/keyline-icons/moon-star.svg" alt="Moon Star icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →