Breadcrumb
Where you are, and the way back — collapsing the middle when the trail gets long.
Breadcrumb renders a trail of links with the last entry as the current page —
not a link, and carrying aria-current="page".
Usage
Collapsing a long trail
maxItems keeps the first and last entries and folds everything between them
into an ellipsis. A breadcrumb that wraps onto a second line has stopped being
a breadcrumb.
Router links
render swaps the <a> for whatever your router uses, per crumb.
A different separator
Properties
The trail. The last entry is rendered as the current page.
Collapses the middle into an ellipsis past this many entries.
What sits between crumbs. It defaults to a chevron.
Merged into the <nav>.
Crumb
The crumb's text.
Makes the crumb a link. Omit it for the current page.
A leading glyph — usually only on the first crumb.
Swaps the <a> for a router link: render={<Link to="/x" />}.