heroicons + sidekickicons

Git Branch icon

git-branch

A line with a branch splitting off it, for git branches, versions and forks.

Missing from Heroicons, where it was requested with 12 votes in #350 and #374 .

Component
GitBranchIcon
Intended size
24×24 px, 1.5 px stroke
Iconset
Sidekickicons
Keywords
git, branch, version control, fork, merge, repository, commit, version, code

Code

<svg xmlns="http://www.w3.org/2000/svg" stroke-width="1.5" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" fill="none" class="size-6">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6.75 3.75v12M4.5 18A2.25 2.25 0 1 0 9 18a2.25 2.25 0 1 0-4.5 0ZM15 6.75a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 1 0-4.5 0ZM17.25 9A8.25 9 0 0 1 9 18" />
</svg>

Download

git-branch icon preview

Color

Default keeps currentColor in the SVG, so it takes the color of the text around it.

Size in pixels

Background

Git Branch icon in UI elements

Button · Mini

Secondary button · Mini

Icon buttons · Mini, and an Outline toggle that turns Solid

Input · Mini

Navigation · Outline

main main

Badges · Micro

History

  1. Added in Sidekickicons 0.20.0 .

Related icons

More Sidekickicons