Branch name

Branch name is a label-type component rendered as an <a> tag by default that displays the name of a branch.

An image showing a branch name component.

Usage

Use this component to represent a branch name label and link to its tree.

Options

Icon

Include the branch icon when using the component in isolation and in places where users can’t easily determine whether the label represents a branch from the surrounding context.

An image showing a branch name component with a branch icon.

Branch name is rendered as a link by default. You can also represent the branch label in plain text.

An image showing a branch name component as a link and a branch name component as plain text.