Git icon
bxl:git
The Git icon (bxl:git) is a free SVG icon from the Boxicons Brands set by Boxicons. It is drawn on a 24 × 24 grid. Boxicons Brands 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
- Boxicons Brands
- Author
- Boxicons
- 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.62 11.108l-8.731-8.729a1.29 1.29 0 0 0-1.823 0L9.257 4.19l2.299 2.3a1.532 1.532 0 0 1 1.939 1.95l2.214 2.217a1.53 1.53 0 0 1 1.583 2.531c-.599.6-1.566.6-2.166 0a1.54 1.54 0 0 1-.337-1.662l-2.074-2.063V14.9c.146.071.286.169.407.29a1.537 1.537 0 0 1 0 2.166a1.536 1.536 0 0 1-2.174 0a1.53 1.53 0 0 1 0-2.164q.23-.226.504-.339v-5.49a1.53 1.53 0 0 1-.83-2.008l-2.26-2.271l-5.987 5.982c-.5.504-.5 1.32 0 1.824l8.731 8.729a1.286 1.286 0 0 0 1.821 0l8.69-8.689a1.284 1.284 0 0 0 .003-1.822"/></svg>How to use the Git icon
React
import { Icon } from "@iconify/react";
<Icon icon="bxl:git" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bxl:git" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bxl:git" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bxl--git]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bxl -->
<div class="i-bxl:git"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bxl:git"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bxl/git.svg" alt="Git icon" width="24" height="24">Related icons in Boxicons Brands
Git icon in other icon sets
Git icon FAQ
Is the Git icon free for commercial use?
Yes. Boxicons Brands 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="bxl: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/bxl/git.svg" alt="Git icon">, or paste the SVG code inline to style it with CSS.