Breadcrumbs
Breadcrumbs display the current page or context within the site, allowing them to navigate different levels of the hierarchy.
On this page
Work in progressWe are currently transferring the React documentation for Breadcrumbs from a different site to this page. To view the original documentation with code examples, please visit the Primer React documentation for Breadcrumbs.
On this page
Import
import {Breadcrumbs} from '@primer/react'
Examples
Props
Breadcrumbs
Name | Default | Description |
---|---|---|
children | Breadcrumbs.Item[] | |
sx | SystemStyleObject |
Breadcrumbs.Item
Name | Default | Description |
---|---|---|
selected | false | boolean |
ref | React.RefObject<HTMLAnchorElement> | |
as | "a" | React.ElementType |
sx | SystemStyleObject |