git diff icon

git-diff-thin from Phosphor by Phosphor Icons · Thin · MIT Free for personal and commercial use.

Name
git-diff-thin
Set
Phosphor
Style
Thin
Viewbox
256×256
License
MIT

5 other variants in Phosphor

The same icon in other sets

Related icons in Phosphor

Use the git diff icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M112 156a4 4 0 0 0-4 4v38.34l-44.49-44.48a12 12 0 0 1-3.51-8.49V91.71a28 28 0 1 0-8 0v53.66a19.85 19.85 0 0 0 5.86 14.14L102.34 204H64a4 4 0 0 0 0 8h48a4 4 0 0 0 4-4v-48a4 4 0 0 0-4-4M36 64a20 20 0 1 1 20 20a20 20 0 0 1-20-20m168 100.29v-53.66a19.85 19.85 0 0 0-5.86-14.14L153.66 52H192a4 4 0 0 0 0-8h-48a4 4 0 0 0-4 4v48a4 4 0 0 0 8 0V57.66l44.49 44.48a12 12 0 0 1 3.51 8.49v53.66a28 28 0 1 0 8 0M200 212a20 20 0 1 1 20-20a20 20 0 0 1-20 20"/></svg>

React

import type { SVGProps } from "react";

export function PhGitDiffThin(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M112 156a4 4 0 0 0-4 4v38.34l-44.49-44.48a12 12 0 0 1-3.51-8.49V91.71a28 28 0 1 0-8 0v53.66a19.85 19.85 0 0 0 5.86 14.14L102.34 204H64a4 4 0 0 0 0 8h48a4 4 0 0 0 4-4v-48a4 4 0 0 0-4-4M36 64a20 20 0 1 1 20 20a20 20 0 0 1-20-20m168 100.29v-53.66a19.85 19.85 0 0 0-5.86-14.14L153.66 52H192a4 4 0 0 0 0-8h-48a4 4 0 0 0-4 4v48a4 4 0 0 0 8 0V57.66l44.49 44.48a12 12 0 0 1 3.51 8.49v53.66a28 28 0 1 0 8 0M200 212a20 20 0 1 1 20-20a20 20 0 0 1-20 20"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M112 156a4 4 0 0 0-4 4v38.34l-44.49-44.48a12 12 0 0 1-3.51-8.49V91.71a28 28 0 1 0-8 0v53.66a19.85 19.85 0 0 0 5.86 14.14L102.34 204H64a4 4 0 0 0 0 8h48a4 4 0 0 0 4-4v-48a4 4 0 0 0-4-4M36 64a20 20 0 1 1 20 20a20 20 0 0 1-20-20m168 100.29v-53.66a19.85 19.85 0 0 0-5.86-14.14L153.66 52H192a4 4 0 0 0 0-8h-48a4 4 0 0 0-4 4v48a4 4 0 0 0 8 0V57.66l44.49 44.48a12 12 0 0 1 3.51 8.49v53.66a28 28 0 1 0 8 0M200 212a20 20 0 1 1 20-20a20 20 0 0 1-20 20"/></svg>
</template>

CSS

.icon-git-diff-thin {
  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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M112%20156a4%204%200%200%200-4%204v38.34l-44.49-44.48a12%2012%200%200%201-3.51-8.49V91.71a28%2028%200%201%200-8%200v53.66a19.85%2019.85%200%200%200%205.86%2014.14L102.34%20204H64a4%204%200%200%200%200%208h48a4%204%200%200%200%204-4v-48a4%204%200%200%200-4-4M36%2064a20%2020%200%201%201%2020%2020a20%2020%200%200%201-20-20m168%20100.29v-53.66a19.85%2019.85%200%200%200-5.86-14.14L153.66%2052H192a4%204%200%200%200%200-8h-48a4%204%200%200%200-4%204v48a4%204%200%200%200%208%200V57.66l44.49%2044.48a12%2012%200%200%201%203.51%208.49v53.66a28%2028%200%201%200%208%200M200%20212a20%2020%200%201%201%2020-20a20%2020%200%200%201-20%2020%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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M112%20156a4%204%200%200%200-4%204v38.34l-44.49-44.48a12%2012%200%200%201-3.51-8.49V91.71a28%2028%200%201%200-8%200v53.66a19.85%2019.85%200%200%200%205.86%2014.14L102.34%20204H64a4%204%200%200%200%200%208h48a4%204%200%200%200%204-4v-48a4%204%200%200%200-4-4M36%2064a20%2020%200%201%201%2020%2020a20%2020%200%200%201-20-20m168%20100.29v-53.66a19.85%2019.85%200%200%200-5.86-14.14L153.66%2052H192a4%204%200%200%200%200-8h-48a4%204%200%200%200-4%204v48a4%204%200%200%200%208%200V57.66l44.49%2044.48a12%2012%200%200%201%203.51%208.49v53.66a28%2028%200%201%200%208%200M200%20212a20%2020%200%201%201%2020-20a20%2020%200%200%201-20%2020%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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