Git icon
humbleicons:git
The Git icon (humbleicons:git) is a free SVG icon from the Humbleicons set by Jiří Zralý. It is drawn on a 24 × 24 grid. Humbleicons 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
- Humbleicons
- Author
- Jiří Zralý
- 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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 12l-4-4m0 0L9 5m3 3v8m-9.293-4.707l8.586-8.586a1 1 0 0 1 1.414 0l8.586 8.586a1 1 0 0 1 0 1.414l-8.586 8.586a1 1 0 0 1-1.414 0l-8.586-8.586a1 1 0 0 1 0-1.414M13 16a1 1 0 1 1-2 0a1 1 0 0 1 2 0m4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>How to use the Git icon
React
import { Icon } from "@iconify/react";
<Icon icon="humbleicons:git" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="humbleicons:git" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="humbleicons:git" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[humbleicons--git]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/humbleicons -->
<div class="i-humbleicons:git"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="humbleicons:git"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/humbleicons/git.svg" alt="Git icon" width="24" height="24">Git icon in other icon sets
Git icon FAQ
Is the Git icon free for commercial use?
Yes. Humbleicons 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="humbleicons: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/humbleicons/git.svg" alt="Git icon">, or paste the SVG code inline to style it with CSS.