interface
Star twinkle icon
Star twinkle is an original glyphfox icon from the interface set, drawn on the 24 by 24 grid with 2 shapes. Its closed shapes also give it a solid style, generated at build time. Tags: star, favorite, rating, shine, 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 { StarTwinkleIcon } from 'glyphfox/react'; <StarTwinkleIcon />
App.vue
<script setup> import { StarTwinkleIcon } from 'glyphfox/vue'; </script> <template> <StarTwinkleIcon /> </template>
App.svelte
<script> import { StarTwinkleIcon } from 'glyphfox/svelte'; </script> <StarTwinkleIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular'; <gf-icon name="star-twinkle"></gf-icon>
index.html
<glyph-fox name="star-twinkle"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script> <glyph-fox name="star-twinkle"></glyph-fox>
index.html
<span class="gf-star-twinkle" aria-hidden="true"></span>
star-twinkle.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-star-twinkle" aria-hidden="true"><path d="M13.46 4.08L15.14 7.84A.7 .7 0 0 0 15.7 8.25L19.8 8.68A1.6 1.6 0 0 1 20.7 11.46L17.64 14.22A.7 .7 0 0 0 17.43 14.88L18.28 18.91A1.6 1.6 0 0 1 15.91 20.62L12.35 18.57A.7 .7 0 0 0 11.65 18.57L8.09 20.62A1.6 1.6 0 0 1 5.72 18.91L6.57 14.88A.7 .7 0 0 0 6.36 14.22L3.3 11.46A1.6 1.6 0 0 1 4.2 8.68L8.3 8.25A.7 .7 0 0 0 8.86 7.84L10.54 4.08A1.6 1.6 0 0 1 13.46 4.08Z"/><path d="M19.5 2.5Q19.74 4.26 21.5 4.5Q19.74 4.74 19.5 6.5Q19.26 4.74 17.5 4.5Q19.26 4.26 19.5 2.5Z"/></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-star-twinkle' aria-hidden='true'%3E%3Cpath d='M13.46 4.08L15.14 7.84A.7 .7 0 0 0 15.7 8.25L19.8 8.68A1.6 1.6 0 0 1 20.7 11.46L17.64 14.22A.7 .7 0 0 0 17.43 14.88L18.28 18.91A1.6 1.6 0 0 1 15.91 20.62L12.35 18.57A.7 .7 0 0 0 11.65 18.57L8.09 20.62A1.6 1.6 0 0 1 5.72 18.91L6.57 14.88A.7 .7 0 0 0 6.36 14.22L3.3 11.46A1.6 1.6 0 0 1 4.2 8.68L8.3 8.25A.7 .7 0 0 0 8.86 7.84L10.54 4.08A1.6 1.6 0 0 1 13.46 4.08Z'/%3E%3Cpath d='M19.5 2.5Q19.74 4.26 21.5 4.5Q19.74 4.74 19.5 6.5Q19.26 4.74 17.5 4.5Q19.26 4.26 19.5 2.5Z'/%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-star-twinkle"></use> </svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; --> <i data-glyph="star-twinkle"></i>
icon.js
import { renderToString } from 'glyphfox/core'; import iconStarTwinkle from 'glyphfox/icons/star-twinkle'; const svg = renderToString(iconStarTwinkle, { size: 24 }); // or, with every icon registered by name: // import { toSvg } from 'glyphfox'; // toSvg('star-twinkle', { 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.
star-twinkle+checkstar-twinkle+plusstar-twinkle+xstar-twinkle+alertUse it in your stack
Guides with the install, the props and the pitfalls for each stack: