weather
Moon stars icon
Moon stars is an original glyphfox icon from the weather set, drawn on the 24 by 24 grid with 3 shapes. Its closed shapes also give it a solid style, generated at build time. Tags: moon, night, stars, sleep, dark, animated.
Sizes, weights and styles
Every glyphfox icon renders along three axes. The stroke grows a little below 24 px so small icons keep their presence.
Sizes
Weights
Styles
Copy the code
Pick a format. Each snippet uses the package entry point for that stack; the props work the same everywhere.
App.jsx
import { MoonStarsIcon } from 'glyphfox/react'; <MoonStarsIcon />
App.vue
<script setup> import { MoonStarsIcon } from 'glyphfox/vue'; </script> <template> <MoonStarsIcon /> </template>
App.svelte
<script> import { MoonStarsIcon } from 'glyphfox/svelte'; </script> <MoonStarsIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular'; <gf-icon name="moon-stars"></gf-icon>
index.html
<glyph-fox name="moon-stars"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script> <glyph-fox name="moon-stars"></glyph-fox>
index.html
<span class="gf-moon-stars" aria-hidden="true"></span>
moon-stars.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="glyphfox glyphfox-moon-stars" aria-hidden="true"><path d="M11.44 3.5A9 9 0 1 0 20.46 13.34A7 7 0 0 1 11.44 3.5Z"/><path d="M17 4.5Q17.3 6.7 19.5 7Q17.3 7.3 17 9.5Q16.7 7.3 14.5 7Q16.7 6.7 17 4.5Z"/><path d="M14.5 3.5h.01"/></svg>
data URI
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='glyphfox glyphfox-moon-stars' aria-hidden='true'%3E%3Cpath d='M11.44 3.5A9 9 0 1 0 20.46 13.34A7 7 0 0 1 11.44 3.5Z'/%3E%3Cpath d='M17 4.5Q17.3 6.7 19.5 7Q17.3 7.3 17 9.5Q16.7 7.3 14.5 7Q16.7 6.7 17 4.5Z'/%3E%3Cpath d='M14.5 3.5h.01'/%3E%3C/svg%3E
index.html
<!-- copy node_modules/glyphfox/dist/sprite.svg to your public folder --> <svg width="24" height="24" aria-hidden="true"> <use href="/sprite.svg#gf-moon-stars"></use> </svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; --> <i data-glyph="moon-stars"></i>
icon.js
import { renderToString } from 'glyphfox/core'; import iconMoonStars from 'glyphfox/icons/moon-stars'; const svg = renderToString(iconMoonStars, { size: 24 }); // or, with every icon registered by name: // import { toSvg } from 'glyphfox'; // toSvg('moon-stars', { size: 24 });
Details
With a modifier badge
Add a badge in any corner with modifier or the name syntax. The icon is cut around the badge, so the result still passes the icon rules.
moon-stars+checkmoon-stars+plusmoon-stars+xmoon-stars+alertUse it in your stack
Guides with the install, the props and the pitfalls for each stack: