Skip to content

GitBranchIcon

const GitBranchIcon: NamedExoticComponent<Omit<{ children: ReactNode; className?: string; color?: IconColor; decorative?: boolean; ref?: Ref<SVGSVGElement>; size?: IconSize; testId?: string; title?: string; }, "children">>

Defined in: src/components/Icons/GitBranchIcon.tsx:27

Git Branch icon component for version-control branch contexts.

A trunk line with a fork to a side node, commonly used for branch indicators in status bars, branch pickers, and VCS-related actions.

Example

// Basic usage
<GitBranchIcon />
// With custom size and color
<GitBranchIcon size="sm" color="muted" />
// In a status bar
<Button icon={<GitBranchIcon />}>main</Button>