Git Branch Compact icon
codicon:git-branch-compact
The Git Branch Compact icon (codicon:git-branch-compact) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 12 × 12 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 12 × 12
- Tags
- gitbranch, branchcompact, gitbranchcompact
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" 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>How to use the Git Branch Compact icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:git-branch-compact" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:git-branch-compact" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:git-branch-compact" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--git-branch-compact]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:git-branch-compact"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:git-branch-compact"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/git-branch-compact.svg" alt="Git Branch Compact icon" width="24" height="24">Related icons in Codicons
Git Branch Compact icon FAQ
Is the Git Branch Compact icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Git Branch Compact icon in React?
Install @iconify/react and render <Icon icon="codicon:git-branch-compact" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git Branch Compact icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/git-branch-compact.svg" alt="Git Branch Compact icon">, or paste the SVG code inline to style it with CSS.