Git Compare icon
hugeicons:git-compare
The Git Compare icon (hugeicons:git-compare) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- gitcompare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M19 17v-6c0-2.828 0-4.243-.879-5.121C17.243 5 15.828 5 13 5h-3m0 0c0-.7 1.994-2.008 2.5-2.5M10 5c0 .7 1.994 2.008 2.5 2.5M5 7.5v6c0 2.828 0 4.243.879 5.121c.878.879 2.293.879 5.121.879h3m0 0c0 .7-1.994 2.009-2.5 2.5m2.5-2.5c0-.7-1.994-2.009-2.5-2.5"/><circle cx="19" cy="19" r="2"/><circle cx="5" cy="5" r="2"/></g></svg>How to use the Git Compare icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:git-compare" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:git-compare" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:git-compare" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--git-compare]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:git-compare"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:git-compare"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/git-compare.svg" alt="Git Compare icon" width="24" height="24">Related icons in Huge Icons
git-branch
git-branch-minus
git-branch-plus
git-commit
git-commit-horizontal
git-commit-vertical
git-compare-arrows
git-fork
git-graph
git-merge
git-merge-conflict
git-pull-request
git-pull-request-arrow
git-pull-request-closed
git-pull-request-create
git-pull-request-create-arrow
git-pull-request-draft
gitbook
github
github-01
gitlab
Git Compare icon in other icon sets
Git Compare icon FAQ
Is the Git Compare icon free for commercial use?
Yes. Huge 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="hugeicons: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/hugeicons/git-compare.svg" alt="Git Compare icon">, or paste the SVG code inline to style it with CSS.