ICONYZ
English
Git Compare icon from Boxicons

Git Compare icon

boxicons:git-compare

The Git Compare icon (boxicons:git-compare) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Author
Boxicons
License
MIT
Size
24 × 24
Tags
gitcompare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 5c0 1.3.84 2.4 2 2.82v9.68A2.5 2.5 0 0 0 6.5 20H10v2l4-3l-4-3v2H6.5c-.28 0-.5-.22-.5-.5V7.82C7.16 7.41 8 6.31 8 5c0-1.65-1.35-3-3-3S2 3.35 2 5m3-1c.55 0 1 .45 1 1s-.45 1-1 1s-1-.45-1-1s.45-1 1-1m15 12.18V6.5A2.5 2.5 0 0 0 17.5 4H14V2l-4 3l4 3V6h3.5c.28 0 .5.22.5.5v9.68c-1.16.41-2 1.51-2 2.82c0 1.65 1.35 3 3 3s3-1.35 3-3c0-1.3-.84-2.4-2-2.82M19 20c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1"/></svg>

How to use the Git Compare icon

React

import { Icon } from "@iconify/react";

<Icon icon="boxicons:git-compare" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="boxicons:git-compare" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="boxicons:git-compare" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--git-compare]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:git-compare"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="boxicons:git-compare"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/git-compare.svg" alt="Git Compare icon" width="24" height="24">

Related icons in Boxicons

Git Compare icon in other icon sets

Git Compare icon FAQ

Is the Git Compare icon free for commercial use?

Yes. Boxicons 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="boxicons: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/boxicons/git-compare.svg" alt="Git Compare icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →