Git Compare icon
ion:git-compare
The Git Compare icon (ion:git-compare) is a free SVG icon from the IonIcons set by Ben Sperry. It is drawn on a 512 × 512 grid. IonIcons 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
- IonIcons
- Author
- Ben Sperry
- License
- MIT
- Size
- 512 × 512
- Tags
- gitcompare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M218.31 340.69A16 16 0 0 0 191 352v32h-20a28 28 0 0 1-28-28V152a64 64 0 1 0-64-1.16V356a92.1 92.1 0 0 0 92 92h20v32a16 16 0 0 0 27.31 11.31l64-64a16 16 0 0 0 0-22.62ZM112 64a32 32 0 1 1-32 32a32 32 0 0 1 32-32m320 296.61V156a92.1 92.1 0 0 0-92-92h-20V32a16 16 0 0 0-27.31-11.31l-64 64a16 16 0 0 0 0 22.62l64 64A16 16 0 0 0 320 160v-32h20a28 28 0 0 1 28 28v204.61a64 64 0 1 0 64 0M400 448a32 32 0 1 1 32-32a32 32 0 0 1-32 32"/></svg>How to use the Git Compare icon
React
import { Icon } from "@iconify/react";
<Icon icon="ion:git-compare" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ion:git-compare" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ion:git-compare" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--git-compare]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:git-compare"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ion:git-compare"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ion/git-compare.svg" alt="Git Compare icon" width="24" height="24">Related icons in IonIcons
Git Compare icon in other icon sets
Git Compare icon FAQ
Is the Git Compare icon free for commercial use?
Yes. IonIcons 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="ion: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/ion/git-compare.svg" alt="Git Compare icon">, or paste the SVG code inline to style it with CSS.