git commit icon
git-commit from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.
- Name
- git-commit
- Set
- Phosphor
- Style
- Regular
- Viewbox
- 256×256
- License
- MIT
5 other variants in Phosphor
The same icon in other sets
git-commitBoxIcons v2git-commitFeather Iconsgit-commitcss.gggit-commitHuge Iconsgit-commitIconoirgit-commitIonIconsgit-commitMajesticonsgit-commit-fillMingCute Icongit-commitOcticonsgit-commitPixelarticonsgit-commit-fillRemix Icongit-commit-boldSolargit-commitTabler Iconsgit-commit-outlineTeenyicons
Related icons in Phosphor
Use the git commit icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M248 120h-64.58a56 56 0 0 0-110.84 0H8a8 8 0 0 0 0 16h64.58a56 56 0 0 0 110.84 0H248a8 8 0 0 0 0-16m-120 48a40 40 0 1 1 40-40a40 40 0 0 1-40 40"/></svg>
React
import type { SVGProps } from "react";
export function PhGitCommit(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="M248 120h-64.58a56 56 0 0 0-110.84 0H8a8 8 0 0 0 0 16h64.58a56 56 0 0 0 110.84 0H248a8 8 0 0 0 0-16m-120 48a40 40 0 1 1 40-40a40 40 0 0 1-40 40"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M248 120h-64.58a56 56 0 0 0-110.84 0H8a8 8 0 0 0 0 16h64.58a56 56 0 0 0 110.84 0H248a8 8 0 0 0 0-16m-120 48a40 40 0 1 1 40-40a40 40 0 0 1-40 40"/></svg> </template>
CSS
.icon-git-commit {
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%22M248%20120h-64.58a56%2056%200%200%200-110.84%200H8a8%208%200%200%200%200%2016h64.58a56%2056%200%200%200%20110.84%200H248a8%208%200%200%200%200-16m-120%2048a40%2040%200%201%201%2040-40a40%2040%200%200%201-40%2040%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%22M248%20120h-64.58a56%2056%200%200%200-110.84%200H8a8%208%200%200%200%200%2016h64.58a56%2056%200%200%200%20110.84%200H248a8%208%200%200%200%200-16m-120%2048a40%2040%200%201%201%2040-40a40%2040%200%200%201-40%2040%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/git-commit.svg?color=%231a73e8&size=48