Moon Stars icon
ph:moon-stars
The Moon Stars icon (ph:moon-stars) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- night, evening, clear, sleep, snooze, night mode, dark mode, astronomy, stargazing, constellation, moonstars, star
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M240 96a8 8 0 0 1-8 8h-16v16a8 8 0 0 1-16 0v-16h-16a8 8 0 0 1 0-16h16V72a8 8 0 0 1 16 0v16h16a8 8 0 0 1 8 8m-96-40h8v8a8 8 0 0 0 16 0v-8h8a8 8 0 0 0 0-16h-8v-8a8 8 0 0 0-16 0v8h-8a8 8 0 0 0 0 16m72.77 97a8 8 0 0 1 1.43 8A96 96 0 1 1 95.07 37.8a8 8 0 0 1 10.6 9.06a88.07 88.07 0 0 0 103.47 103.47a8 8 0 0 1 7.63 2.67m-19.39 14.88c-1.79.09-3.59.14-5.38.14A104.11 104.11 0 0 1 88 64c0-1.79 0-3.59.14-5.38a80 80 0 1 0 109.24 109.24Z"/></svg>How to use the Moon Stars icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:moon-stars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:moon-stars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:moon-stars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--moon-stars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:moon-stars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:moon-stars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/moon-stars.svg" alt="Moon Stars icon" width="24" height="24">Related icons in Phosphor
Moon Stars icon in other icon sets
Moon Stars icon FAQ
Is the Moon Stars icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Moon Stars icon in React?
Install @iconify/react and render <Icon icon="ph:moon-stars" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Moon Stars icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/moon-stars.svg" alt="Moon Stars icon">, or paste the SVG code inline to style it with CSS.