git compare icon

git-compare from IonIcons by Ben Sperry · Regular · MIT Free for personal and commercial use.

Name
git-compare
Set
IonIcons
Style
Regular
Viewbox
512×512
License
MIT

2 other variants in IonIcons

The same icon in other sets

Related icons in IonIcons

Use the git compare icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>

React

import type { SVGProps } from "react";

export function IonGitCompare(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
</template>

CSS

.icon-git-compare {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M218.31%20340.69A16%2016%200%200%200%20191%20352v32h-20a28%2028%200%200%201-28-28V152a64%2064%200%201%200-64-1.16V356a92.1%2092.1%200%200%200%2092%2092h20v32a16%2016%200%200%200%2027.31%2011.31l64-64a16%2016%200%200%200%200-22.62ZM112%2064a32%2032%200%201%201-32%2032a32%2032%200%200%201%2032-32m320%20296.61V156a92.1%2092.1%200%200%200-92-92h-20V32a16%2016%200%200%200-27.31-11.31l-64%2064a16%2016%200%200%200%200%2022.62l64%2064A16%2016%200%200%200%20320%20160v-32h20a28%2028%200%200%201%2028%2028v204.61a64%2064%200%201%200%2064%200M400%20448a32%2032%200%201%201%2032-32a32%2032%200%200%201-32%2032%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M218.31%20340.69A16%2016%200%200%200%20191%20352v32h-20a28%2028%200%200%201-28-28V152a64%2064%200%201%200-64-1.16V356a92.1%2092.1%200%200%200%2092%2092h20v32a16%2016%200%200%200%2027.31%2011.31l64-64a16%2016%200%200%200%200-22.62ZM112%2064a32%2032%200%201%201-32%2032a32%2032%200%200%201%2032-32m320%20296.61V156a92.1%2092.1%200%200%200-92-92h-20V32a16%2016%200%200%200-27.31-11.31l-64%2064a16%2016%200%200%200%200%2022.62l64%2064A16%2016%200%200%200%20320%20160v-32h20a28%2028%200%200%201%2028%2028v204.61a64%2064%200%201%200%2064%200M400%20448a32%2032%200%201%201%2032-32a32%2032%200%200%201-32%2032%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/git-compare.svg?color=%231a73e8&size=48