Breadcrumb
Use breadcrumbs to show a visitor's location in a website hierarchy and provide links back to higher-level pages.
Examples
Default
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxbreadcrumb-demo.tsx
Wrapping
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxbreadcrumb-wrapping-demo.tsx
Component API
Put Item parts inside List, with a Link for each destination. Mark the current item on Item.
Root<nav>
Set aria-label to name this navigation landmark.
| Prop | Type | Default | Description |
|---|---|---|---|
aria-label | string (required) | — | Names the navigation landmark. |
wrap | boolean (required by the current type) | false | Allows the trail to wrap instead of truncating earlier items. Runtime default is false. |
List<ol>
Orders the breadcrumb items.
Item<li>
Groups a destination and its separator.
| Prop | Type | Description |
|---|---|---|
isCurrent | boolean | Marks this item as the current page. |
Link<a>
Renders a link, or current-page text when its Item is current.
Separator<span>
Displays the separator between items.
Previous<span>
Displays the compact previous-page trail.