Navigation
Breadcrumbs
Where a screen sits in its hierarchy.
import { Breadcrumbs } from 'faifo-design'Breadcrumbs lists the ancestors of the current screen as links and ends with the current place.
#When to use
- Use it when a screen has a real parent the reader may return to.
- Do not use it to show progress through steps; that is a
StagePath.
#Examples
Each example is a specimen of the package catalogue, rendered on the server exactly as shown in its code.
#Navigation and tabs
Faifo Blue marks the active item in both vertical and horizontal navigation.
The active panel owns vertical rhythm and scrolling, without horizontal padding.
Show codeHide code
#API
Generated from the package source. A property without a description has none in the source yet.
#BreadcrumbsComponent
| Property | Description | Type | Default |
|---|---|---|---|
labelrequired | – | string | – |
itemsrequired | – | readonly BreadcrumbItem[] | – |
maxItems | Keep the first and current locations visible; put intermediate ancestors in a native disclosure. | number | – |
overflowLabel | Accessible label for the collapsed ancestor trigger, supplied in the application's locale. | string | – |
#Types
#BreadcrumbItem
| Property | Description | Type | Default |
|---|---|---|---|
id | – | string | – |
labelrequired | – | string | – |
href | – | string | – |
#BreadcrumbsProps
The properties of Breadcrumbs, listed above.