sports

Soccer ball icon

Soccer ball is an original glyphfox icon from the sports set, drawn on the 24 by 24 grid with 7 shapes. Its closed shapes also give it a solid style, generated at build time. Tags: soccer, football, ball, goal, sport.

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
Duotone
Solid
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 { SoccerBallIcon } from 'glyphfox/react';

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

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

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

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

<glyph-fox name="soccer-ball"></glyph-fox>
index.html
<span class="gf-soccer-ball" aria-hidden="true"></span>
soccer-ball.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-soccer-ball" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 8.8L15.04 11.01L13.88 14.59L10.12 14.59L8.96 11.01Z"/><path d="M12 8.8L12 2"/><path d="M15.04 11.01L21.51 8.91"/><path d="M13.88 14.59L17.88 20.09"/><path d="M10.12 14.59L6.12 20.09"/><path d="M8.96 11.01L2.49 8.91"/></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-soccer-ball' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8.8L15.04 11.01L13.88 14.59L10.12 14.59L8.96 11.01Z'/%3E%3Cpath d='M12 8.8L12 2'/%3E%3Cpath d='M15.04 11.01L21.51 8.91'/%3E%3Cpath d='M13.88 14.59L17.88 20.09'/%3E%3Cpath d='M10.12 14.59L6.12 20.09'/%3E%3Cpath d='M8.96 11.01L2.49 8.91'/%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-soccer-ball"></use>
</svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; -->
<i data-glyph="soccer-ball"></i>
icon.js
import { renderToString } from 'glyphfox/core';
import iconSoccerBall from 'glyphfox/icons/soccer-ball';

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

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

Details

Namesoccer-ball
React, Vue and Svelte componentSoccerBallIcon
Icon data exporticonSoccerBall
Categoriessports
Tagssoccer football ball goal sport
StylesOutline, Duotone (fill of the closed shapes), Solid
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.

soccer-ball+check
soccer-ball+plus
soccer-ball+x
soccer-ball+alert

Use it in your stack

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