git compare icon
git-compare from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- git-compare
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
Related icons in Codicons
git-branchgit-branch-changesgit-branch-compactgit-branch-conflictsgit-branch-staged-changesgit-commitgit-fetchgit-lensgit-mergegit-pull-requestgit-pull-request-closedgit-pull-request-commentgit-pull-request-creategit-pull-request-donegit-pull-request-draftgit-pull-request-errorgit-pull-request-go-to-changesgit-pull-request-new-changesgit-stashgit-stash-applygit-stash-pop
Use the git compare icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.146 5.854a.5.5 0 1 0 .708-.708L8.707 4H10.5A1.5 1.5 0 0 1 12 5.5v4.55a2.5 2.5 0 1 0 1 0V5.5A2.5 2.5 0 0 0 10.5 3H8.707l1.147-1.146a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708zM14 12.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m-8-9a2.5 2.5 0 0 1-2 2.45v4.55A1.5 1.5 0 0 0 5.5 12h1.793l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L7.293 13H5.5A2.5 2.5 0 0 1 3 10.5V5.95A2.5 2.5 0 1 1 6 3.5m-1 0a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0"/></svg>
React
import type { SVGProps } from "react";
export function CodiconGitCompare(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.146 5.854a.5.5 0 1 0 .708-.708L8.707 4H10.5A1.5 1.5 0 0 1 12 5.5v4.55a2.5 2.5 0 1 0 1 0V5.5A2.5 2.5 0 0 0 10.5 3H8.707l1.147-1.146a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708zM14 12.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m-8-9a2.5 2.5 0 0 1-2 2.45v4.55A1.5 1.5 0 0 0 5.5 12h1.793l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L7.293 13H5.5A2.5 2.5 0 0 1 3 10.5V5.95A2.5 2.5 0 1 1 6 3.5m-1 0a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.146 5.854a.5.5 0 1 0 .708-.708L8.707 4H10.5A1.5 1.5 0 0 1 12 5.5v4.55a2.5 2.5 0 1 0 1 0V5.5A2.5 2.5 0 0 0 10.5 3H8.707l1.147-1.146a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708zM14 12.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m-8-9a2.5 2.5 0 0 1-2 2.45v4.55A1.5 1.5 0 0 0 5.5 12h1.793l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L7.293 13H5.5A2.5 2.5 0 0 1 3 10.5V5.95A2.5 2.5 0 1 1 6 3.5m-1 0a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0"/></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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.146%205.854a.5.5%200%201%200%20.708-.708L8.707%204H10.5A1.5%201.5%200%200%201%2012%205.5v4.55a2.5%202.5%200%201%200%201%200V5.5A2.5%202.5%200%200%200%2010.5%203H8.707l1.147-1.146a.5.5%200%200%200-.708-.708l-2%202a.5.5%200%200%200%200%20.708zM14%2012.5a1.5%201.5%200%201%201-3%200a1.5%201.5%200%200%201%203%200m-8-9a2.5%202.5%200%200%201-2%202.45v4.55A1.5%201.5%200%200%200%205.5%2012h1.793l-1.147-1.146a.5.5%200%200%201%20.708-.708l2%202a.5.5%200%200%201%200%20.708l-2%202a.5.5%200%200%201-.708-.708L7.293%2013H5.5A2.5%202.5%200%200%201%203%2010.5V5.95A2.5%202.5%200%201%201%206%203.5m-1%200a1.5%201.5%200%201%200-3%200a1.5%201.5%200%200%200%203%200%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.146%205.854a.5.5%200%201%200%20.708-.708L8.707%204H10.5A1.5%201.5%200%200%201%2012%205.5v4.55a2.5%202.5%200%201%200%201%200V5.5A2.5%202.5%200%200%200%2010.5%203H8.707l1.147-1.146a.5.5%200%200%200-.708-.708l-2%202a.5.5%200%200%200%200%20.708zM14%2012.5a1.5%201.5%200%201%201-3%200a1.5%201.5%200%200%201%203%200m-8-9a2.5%202.5%200%200%201-2%202.45v4.55A1.5%201.5%200%200%200%205.5%2012h1.793l-1.147-1.146a.5.5%200%200%201%20.708-.708l2%202a.5.5%200%200%201%200%20.708l-2%202a.5.5%200%200%201-.708-.708L7.293%2013H5.5A2.5%202.5%200%200%201%203%2010.5V5.95A2.5%202.5%200%201%201%206%203.5m-1%200a1.5%201.5%200%201%200-3%200a1.5%201.5%200%200%200%203%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/git-compare.svg?color=%231a73e8&size=48