space
Galaxy icon
Galaxy is an original glyphfox icon from the space 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: galaxy, spiral, milky way, cosmos, universe.
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 { GalaxyIcon } from 'glyphfox/react'; <GalaxyIcon />
App.vue
<script setup> import { GalaxyIcon } from 'glyphfox/vue'; </script> <template> <GalaxyIcon /> </template>
App.svelte
<script> import { GalaxyIcon } from 'glyphfox/svelte'; </script> <GalaxyIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular'; <gf-icon name="galaxy"></gf-icon>
index.html
<glyph-fox name="galaxy"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script> <glyph-fox name="galaxy"></glyph-fox>
index.html
<span class="gf-galaxy" aria-hidden="true"></span>
galaxy.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-galaxy" aria-hidden="true"><circle cx="12" cy="12" r="1.5"/><path d="M13.44 11.3C13.52 11.32 13.76 11.34 13.91 11.4C14.06 11.45 14.2 11.53 14.32 11.64C14.44 11.74 14.55 11.87 14.63 12.02C14.71 12.17 14.77 12.34 14.79 12.53C14.82 12.72 14.82 12.93 14.78 13.15C14.73 13.37 14.66 13.6 14.55 13.84C14.43 14.08 14.28 14.33 14.1 14.56C13.91 14.8 13.68 15.05 13.42 15.28C13.16 15.5 12.86 15.73 12.54 15.93C12.22 16.13 11.86 16.32 11.48 16.47C11.1 16.62 10.69 16.76 10.28 16.85C9.87 16.95 9.43 17.01 9 17.04C8.56 17.06 8.12 17.05 7.69 16.99C7.27 16.93 6.84 16.83 6.44 16.69C6.04 16.55 5.65 16.36 5.31 16.12C4.96 15.89 4.64 15.61 4.37 15.3C4.1 14.98 3.86 14.62 3.69 14.23C3.52 13.84 3.39 13.4 3.33 12.94C3.28 12.49 3.34 11.74 3.34 11.5"/><path d="M10.56 12.7C10.48 12.68 10.24 12.66 10.09 12.6C9.94 12.55 9.8 12.47 9.68 12.36C9.56 12.26 9.45 12.13 9.37 11.98C9.29 11.83 9.23 11.66 9.21 11.47C9.18 11.28 9.18 11.07 9.22 10.85C9.27 10.63 9.34 10.4 9.45 10.16C9.57 9.92 9.72 9.67 9.9 9.44C10.09 9.2 10.32 8.95 10.58 8.72C10.84 8.5 11.14 8.27 11.46 8.07C11.78 7.87 12.14 7.68 12.52 7.53C12.9 7.38 13.31 7.24 13.72 7.15C14.13 7.05 14.57 6.99 15 6.96C15.44 6.94 15.88 6.95 16.31 7.01C16.73 7.07 17.16 7.17 17.56 7.31C17.96 7.45 18.35 7.64 18.69 7.88C19.04 8.11 19.36 8.39 19.63 8.7C19.9 9.02 20.14 9.38 20.31 9.77C20.48 10.16 20.61 10.6 20.67 11.06C20.72 11.51 20.66 12.26 20.66 12.5"/></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-galaxy' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3Cpath d='M13.44 11.3C13.52 11.32 13.76 11.34 13.91 11.4C14.06 11.45 14.2 11.53 14.32 11.64C14.44 11.74 14.55 11.87 14.63 12.02C14.71 12.17 14.77 12.34 14.79 12.53C14.82 12.72 14.82 12.93 14.78 13.15C14.73 13.37 14.66 13.6 14.55 13.84C14.43 14.08 14.28 14.33 14.1 14.56C13.91 14.8 13.68 15.05 13.42 15.28C13.16 15.5 12.86 15.73 12.54 15.93C12.22 16.13 11.86 16.32 11.48 16.47C11.1 16.62 10.69 16.76 10.28 16.85C9.87 16.95 9.43 17.01 9 17.04C8.56 17.06 8.12 17.05 7.69 16.99C7.27 16.93 6.84 16.83 6.44 16.69C6.04 16.55 5.65 16.36 5.31 16.12C4.96 15.89 4.64 15.61 4.37 15.3C4.1 14.98 3.86 14.62 3.69 14.23C3.52 13.84 3.39 13.4 3.33 12.94C3.28 12.49 3.34 11.74 3.34 11.5'/%3E%3Cpath d='M10.56 12.7C10.48 12.68 10.24 12.66 10.09 12.6C9.94 12.55 9.8 12.47 9.68 12.36C9.56 12.26 9.45 12.13 9.37 11.98C9.29 11.83 9.23 11.66 9.21 11.47C9.18 11.28 9.18 11.07 9.22 10.85C9.27 10.63 9.34 10.4 9.45 10.16C9.57 9.92 9.72 9.67 9.9 9.44C10.09 9.2 10.32 8.95 10.58 8.72C10.84 8.5 11.14 8.27 11.46 8.07C11.78 7.87 12.14 7.68 12.52 7.53C12.9 7.38 13.31 7.24 13.72 7.15C14.13 7.05 14.57 6.99 15 6.96C15.44 6.94 15.88 6.95 16.31 7.01C16.73 7.07 17.16 7.17 17.56 7.31C17.96 7.45 18.35 7.64 18.69 7.88C19.04 8.11 19.36 8.39 19.63 8.7C19.9 9.02 20.14 9.38 20.31 9.77C20.48 10.16 20.61 10.6 20.67 11.06C20.72 11.51 20.66 12.26 20.66 12.5'/%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-galaxy"></use> </svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; --> <i data-glyph="galaxy"></i>
icon.js
import { renderToString } from 'glyphfox/core'; import iconGalaxy from 'glyphfox/icons/galaxy'; const svg = renderToString(iconGalaxy, { size: 24 }); // or, with every icon registered by name: // import { toSvg } from 'glyphfox'; // toSvg('galaxy', { 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.
galaxy+checkgalaxy+plusgalaxy+xgalaxy+alertUse it in your stack
Guides with the install, the props and the pitfalls for each stack: