Stylish Breadcrumb
A navigation trail showing the current location in a hierarchy — the web "Breadcrumb" pattern from shadcn/ui, MUI, and Ant Design.
Items are rendered left to right separated by separator. The last item is rendered as static text in activeColor; earlier items are clickable links. When maxItems is smaller than the item count, the middle of the trail is collapsed into an ellipsis.
Parameters
The breadcrumb trail, from root to current page.
Modifier applied to the root row.
Visual separator between items. Defaults to a small right-arrow icon.
Maximum number of items to show before collapsing with an ellipsis. Defaults to Int.MAX_VALUE (never collapse).
Typography of the labels. Defaults to MaterialTheme.typography.bodyMedium.
Color of navigable (non-current) items. Defaults to MaterialTheme.colorScheme.onSurfaceVariant.
Color of the current (last) item. Defaults to MaterialTheme.colorScheme.onSurface.