development

Git fork icon

Git fork is an original glyphfox icon from the development set, drawn on the 24 by 24 grid with 5 shapes. Its closed shapes also give it a solid style, generated at build time. Tags: fork, git, branch, repository, copy.

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

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

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

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

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

<glyph-fox name="git-fork"></glyph-fox>
index.html
<span class="gf-git-fork" aria-hidden="true"></span>
git-fork.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-git-fork" aria-hidden="true"><circle cx="6" cy="5" r="2.5"/><circle cx="18" cy="5" r="2.5"/><circle cx="12" cy="19" r="2.5"/><path d="M6 7.5V9a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V7.5"/><path d="M12 12v4.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-git-fork' aria-hidden='true'%3E%3Ccircle cx='6' cy='5' r='2.5'/%3E%3Ccircle cx='18' cy='5' r='2.5'/%3E%3Ccircle cx='12' cy='19' r='2.5'/%3E%3Cpath d='M6 7.5V9a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V7.5'/%3E%3Cpath d='M12 12v4.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-git-fork"></use>
</svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; -->
<i data-glyph="git-fork"></i>
icon.js
import { renderToString } from 'glyphfox/core';
import iconGitFork from 'glyphfox/icons/git-fork';

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

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

Details

Namegit-fork
React, Vue and Svelte componentGitForkIcon
Icon data exporticonGitFork
Categoriesdevelopment
Tagsfork git branch repository copy
StylesOutline, Duotone (fill of the closed shapes), Solid
Shapes5
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.

git-fork+check
git-fork+plus
git-fork+x
git-fork+alert

Use it in your stack

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