git branch compact icon
git-branch-compact from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- git-branch-compact
- Set
- Codicons
- Style
- Regular
- Viewbox
- 12×12
- License
- CC BY 4.0
Related icons in Codicons
git-branchgit-branch-changesgit-branch-conflictsgit-branch-staged-changesgit-commitgit-comparegit-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 branch compact icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" d="M9 2a2 2 0 0 0-1 3.731V6.5a.5.5 0 0 1-.5.5h-3q-.264.002-.5.086V3.731A2 2 0 1 0 3 4v4c-1.103 0-2 .897-2 2s.897 2 2 2s2-.897 2-2a2 2 0 0 0-.956-1.705A.5.5 0 0 1 4.5 8h3C8.327 8 9 7.327 9 6.5V6c1.103 0 2-.897 2-2s-.897-2-2-2M2 2a1.001 1.001 0 0 1 2 0a1.001 1.001 0 0 1-2 0m1 9a1.001 1.001 0 0 1 0-2a1.001 1.001 0 0 1 0 2m6-6a1.001 1.001 0 0 1 0-2a1.001 1.001 0 0 1 0 2"/></svg>
React
import type { SVGProps } from "react";
export function CodiconGitBranchCompact(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" d="M9 2a2 2 0 0 0-1 3.731V6.5a.5.5 0 0 1-.5.5h-3q-.264.002-.5.086V3.731A2 2 0 1 0 3 4v4c-1.103 0-2 .897-2 2s.897 2 2 2s2-.897 2-2a2 2 0 0 0-.956-1.705A.5.5 0 0 1 4.5 8h3C8.327 8 9 7.327 9 6.5V6c1.103 0 2-.897 2-2s-.897-2-2-2M2 2a1.001 1.001 0 0 1 2 0a1.001 1.001 0 0 1-2 0m1 9a1.001 1.001 0 0 1 0-2a1.001 1.001 0 0 1 0 2m6-6a1.001 1.001 0 0 1 0-2a1.001 1.001 0 0 1 0 2"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" d="M9 2a2 2 0 0 0-1 3.731V6.5a.5.5 0 0 1-.5.5h-3q-.264.002-.5.086V3.731A2 2 0 1 0 3 4v4c-1.103 0-2 .897-2 2s.897 2 2 2s2-.897 2-2a2 2 0 0 0-.956-1.705A.5.5 0 0 1 4.5 8h3C8.327 8 9 7.327 9 6.5V6c1.103 0 2-.897 2-2s-.897-2-2-2M2 2a1.001 1.001 0 0 1 2 0a1.001 1.001 0 0 1-2 0m1 9a1.001 1.001 0 0 1 0-2a1.001 1.001 0 0 1 0 2m6-6a1.001 1.001 0 0 1 0-2a1.001 1.001 0 0 1 0 2"/></svg> </template>
CSS
.icon-git-branch-compact {
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%2012%2012%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9%202a2%202%200%200%200-1%203.731V6.5a.5.5%200%200%201-.5.5h-3q-.264.002-.5.086V3.731A2%202%200%201%200%203%204v4c-1.103%200-2%20.897-2%202s.897%202%202%202s2-.897%202-2a2%202%200%200%200-.956-1.705A.5.5%200%200%201%204.5%208h3C8.327%208%209%207.327%209%206.5V6c1.103%200%202-.897%202-2s-.897-2-2-2M2%202a1.001%201.001%200%200%201%202%200a1.001%201.001%200%200%201-2%200m1%209a1.001%201.001%200%200%201%200-2a1.001%201.001%200%200%201%200%202m6-6a1.001%201.001%200%200%201%200-2a1.001%201.001%200%200%201%200%202%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%2012%2012%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9%202a2%202%200%200%200-1%203.731V6.5a.5.5%200%200%201-.5.5h-3q-.264.002-.5.086V3.731A2%202%200%201%200%203%204v4c-1.103%200-2%20.897-2%202s.897%202%202%202s2-.897%202-2a2%202%200%200%200-.956-1.705A.5.5%200%200%201%204.5%208h3C8.327%208%209%207.327%209%206.5V6c1.103%200%202-.897%202-2s-.897-2-2-2M2%202a1.001%201.001%200%200%201%202%200a1.001%201.001%200%200%201-2%200m1%209a1.001%201.001%200%200%201%200-2a1.001%201.001%200%200%201%200%202m6-6a1.001%201.001%200%200%201%200-2a1.001%201.001%200%200%201%200%202%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/git-branch-compact.svg?color=%231a73e8&size=48