Git icon
griddy-icons:git
The Git icon (griddy-icons:git) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.625 11.11L12.89 2.375c-.5-.5-1.32-.5-1.82 0l-1.81 1.81l2.3 2.3c.53-.18 1.15-.06 1.57.37c.43.43.55 1.05.36 1.58l2.22 2.22c.54-.18 1.16-.07 1.58.36c.6.6.6 1.57 0 2.17a1.533 1.533 0 0 1-2.5-1.67l-2.07-2.07v5.445a1.533 1.533 0 0 1 .41 2.46c-.6.6-1.57.6-2.17 0s-.6-1.57 0-2.17c.14-.14.31-.26.5-.33V9.355c-.19-.08-.36-.19-.5-.33c-.45-.45-.56-1.12-.33-1.68l-2.27-2.27l-5.985 5.995c-.5.5-.5 1.32 0 1.82l8.735 8.735c.5.5 1.32.5 1.82 0l8.695-8.695c.5-.5.5-1.32 0-1.82"/></svg>How to use the Git icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:git" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:git" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:git" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--git]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:git"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:git"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/git.svg" alt="Git icon" width="24" height="24">Related icons in Griddy Icons
Git icon in other icon sets
Git icon FAQ
Is the Git icon free for commercial use?
Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Git icon in React?
Install @iconify/react and render <Icon icon="griddy-icons:git" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/git.svg" alt="Git icon">, or paste the SVG code inline to style it with CSS.