gaming
Shield crest icon
Shield crest is an original glyphfox icon from the gaming 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: defense, guild, emblem, heraldry, rpg.
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 { ShieldCrestIcon } from 'glyphfox/react'; <ShieldCrestIcon />
App.vue
<script setup> import { ShieldCrestIcon } from 'glyphfox/vue'; </script> <template> <ShieldCrestIcon /> </template>
App.svelte
<script> import { ShieldCrestIcon } from 'glyphfox/svelte'; </script> <ShieldCrestIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular'; <gf-icon name="shield-crest"></gf-icon>
index.html
<glyph-fox name="shield-crest"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script> <glyph-fox name="shield-crest"></glyph-fox>
index.html
<span class="gf-shield-crest" aria-hidden="true"></span>
shield-crest.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-shield-crest" aria-hidden="true"><path d="M4 3h16v8c0 5.5-3.6 8.9-8 11-4.4-2.1-8-5.5-8-11Z"/><path d="M4 8h16"/><path d="M12.5 11.74L13.07 13.02A.24 .24 0 0 0 13.26 13.16L14.65 13.3A.54 .54 0 0 1 14.96 14.25L13.92 15.19A.24 .24 0 0 0 13.85 15.41L14.14 16.78A.54 .54 0 0 1 13.33 17.36L12.12 16.67A.24 .24 0 0 0 11.88 16.67L10.67 17.36A.54 .54 0 0 1 9.86 16.78L10.15 15.41A.24 .24 0 0 0 10.08 15.19L9.04 14.25A.54 .54 0 0 1 9.35 13.3L10.74 13.16A.24 .24 0 0 0 10.93 13.02L11.5 11.74A.54 .54 0 0 1 12.5 11.74Z"/></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-shield-crest' aria-hidden='true'%3E%3Cpath d='M4 3h16v8c0 5.5-3.6 8.9-8 11-4.4-2.1-8-5.5-8-11Z'/%3E%3Cpath d='M4 8h16'/%3E%3Cpath d='M12.5 11.74L13.07 13.02A.24 .24 0 0 0 13.26 13.16L14.65 13.3A.54 .54 0 0 1 14.96 14.25L13.92 15.19A.24 .24 0 0 0 13.85 15.41L14.14 16.78A.54 .54 0 0 1 13.33 17.36L12.12 16.67A.24 .24 0 0 0 11.88 16.67L10.67 17.36A.54 .54 0 0 1 9.86 16.78L10.15 15.41A.24 .24 0 0 0 10.08 15.19L9.04 14.25A.54 .54 0 0 1 9.35 13.3L10.74 13.16A.24 .24 0 0 0 10.93 13.02L11.5 11.74A.54 .54 0 0 1 12.5 11.74Z'/%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-shield-crest"></use> </svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; --> <i data-glyph="shield-crest"></i>
icon.js
import { renderToString } from 'glyphfox/core'; import iconShieldCrest from 'glyphfox/icons/shield-crest'; const svg = renderToString(iconShieldCrest, { size: 24 }); // or, with every icon registered by name: // import { toSvg } from 'glyphfox'; // toSvg('shield-crest', { 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.
shield-crest+checkshield-crest+plusshield-crest+xshield-crest+alertUse it in your stack
Guides with the install, the props and the pitfalls for each stack: