BranchName
BranchName is a label-type component rendered as an <a> tag by default that displays the name of a branch.
React
readyNot reviewed for a11y
Figma
React examples
Default
Not a link
BranchName is rendered as a link by default. You can also represent the branch label in plain text.
With a branch 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.
Props
BranchName
Name | Required | Description |
---|---|---|
ref | React.RefObject<HTMLAnchorElement> | |
as | React.ElementType | |
sx | SystemStyleObject |