space

Constellation icon

Constellation is an original glyphfox icon from the space set, drawn on the 24 by 24 grid with 7 shapes. It is an open line drawing, so the solid style keeps the outline look. Tags: constellation, stars, astrology, night sky.

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

16 px
20 px
24 px
32 px
48 px

Weights

weight 1
weight 1.5
weight 2
weight 2.5
weight 3

Styles

Outline
sharp corners

Copy the code

Pick a format. Each snippet uses the package entry point for that stack; the props work the same everywhere.

Code formats
App.jsx
import { ConstellationIcon } from 'glyphfox/react';

<ConstellationIcon />
App.vue
<script setup>
import { ConstellationIcon } from 'glyphfox/vue';
</script>

<template>
  <ConstellationIcon />
</template>
App.svelte
<script>
  import { ConstellationIcon } from 'glyphfox/svelte';
</script>

<ConstellationIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular';

<gf-icon name="constellation"></gf-icon>
index.html
<glyph-fox name="constellation"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script>

<glyph-fox name="constellation"></glyph-fox>
index.html
<span class="gf-constellation" aria-hidden="true"></span>
constellation.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-constellation" aria-hidden="true"><path d="M4 18.5L8 9.5l5.5 3.5 6-8"/><path d="M13.5 13l5 6"/><path d="M3 18.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01"/><path d="M7 9.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01"/><path d="M12.5 13a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01"/><path d="M18.5 5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01"/><path d="M17.5 19a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.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-constellation' aria-hidden='true'%3E%3Cpath d='M4 18.5L8 9.5l5.5 3.5 6-8'/%3E%3Cpath d='M13.5 13l5 6'/%3E%3Cpath d='M3 18.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01'/%3E%3Cpath d='M7 9.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01'/%3E%3Cpath d='M12.5 13a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01'/%3E%3Cpath d='M18.5 5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.01'/%3E%3Cpath d='M17.5 19a1 1 0 1 0 2 0a1 1 0 1 0-2 0Zm1 0h.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-constellation"></use>
</svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; -->
<i data-glyph="constellation"></i>
icon.js
import { renderToString } from 'glyphfox/core';
import iconConstellation from 'glyphfox/icons/constellation';

const svg = renderToString(iconConstellation, { size: 24 });

// or, with every icon registered by name:
// import { toSvg } from 'glyphfox';
// toSvg('constellation', { size: 24 });

Details

Nameconstellation
React, Vue and Svelte componentConstellationIcon
Icon data exporticonConstellation
Categoriesspace
Tagsconstellation stars astrology night sky
StylesOutline
Shapes7
LicenseMIT

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.

constellation+check
constellation+plus
constellation+x
constellation+alert

Use it in your stack

Guides with the install, the props and the pitfalls for each stack: