Breadcrumbs
Use breadcrumbs to enable wayfinding through navigational links
import {Breadcrumbs} from '@primer/react-brand'
Ensure that the text of each individual Breadcrumb item fits entirely within a 320px wide viewport. Failure to do this violates WCAG 1.4.10 Reflow.
Use short Breadcrumb item names to ensure they fit within a 320px wide viewport.
Don't allow Breadcrumb item names to overflow the 320px wide viewport, as this violates WCAG 1.4.10 Reflow.
name | type | default | required | description |
---|---|---|---|---|
variant | 'default' 'accent' | false | Specify alternative breadcrumb appearance |
name | type | default | required | description |
---|---|---|---|---|
selected | boolean | false | Used for indicating the active link | |
href | string | true | URL of the page the link goes to |