Breadcrumbs
The Breadcrumbs component can be used to indicate the location and hierarchy
of the current page. It also allows users to easily navigate back to a higher
level in the hierarchy.
Import
import { Breadcrumbs } from '@dynatrace/strato-components-preview/navigation';
Use cases
Disable an item
The disabled prop disables a Breadcrumbs.Item, making it unclickable.
Use the Breadcrumbs with React Router
The Breadcrumbs.Item is a polymorphic component and can also be used as a
React Router link.
Use the Breadcrumbs inside a Flex component
When using the Breadcrumbs component inside a Flex component, make sure to set
flexGrow and minWidth as shown in the example. Otherwise, the responsive
collapsing and resize behavior won't work as the available space can't be
calculated correctly.