Git Compare icon
bx:git-compare
The Git Compare icon (bx:git-compare) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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 v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- gitcompare, bx git compare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.01 2c-1.93 0-3.5 1.57-3.5 3.5c0 1.58 1.06 2.903 2.5 3.337v7.16c-.001.179.027 1.781 1.174 2.931C6.892 19.64 7.84 20 9 20v2l4-3l-4-3v2c-1.823 0-1.984-1.534-1.99-2V8.837c1.44-.434 2.5-1.757 2.5-3.337c0-1.93-1.571-3.5-3.5-3.5m0 5c-.827 0-1.5-.673-1.5-1.5S5.183 4 6.01 4s1.5.673 1.5 1.5S6.837 7 6.01 7m13 8.163V7.997C19.005 6.391 17.933 4 15 4V2l-4 3l4 3V6c1.829 0 2.001 1.539 2.01 2v7.163c-1.44.434-2.5 1.757-2.5 3.337c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5c0-1.58-1.06-2.903-2.5-3.337m-1 4.837c-.827 0-1.5-.673-1.5-1.5s.673-1.5 1.5-1.5s1.5.673 1.5 1.5s-.673 1.5-1.5 1.5"/></svg>How to use the Git Compare icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:git-compare" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:git-compare" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:git-compare" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--git-compare]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:git-compare"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:git-compare"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/git-compare.svg" alt="Git Compare icon" width="24" height="24">Related icons in BoxIcons v2
Git Compare icon in other icon sets
Git Compare icon FAQ
Is the Git Compare icon free for commercial use?
Yes. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Git Compare icon in React?
Install @iconify/react and render <Icon icon="bx:git-compare" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git Compare icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bx/git-compare.svg" alt="Git Compare icon">, or paste the SVG code inline to style it with CSS.