Breadcrumb

fun Breadcrumb(breadcrumbs: List<Breadcrumb>, onBreadcrumbClick: (Breadcrumb) -> Unit, modifier: Modifier = Modifier, displayTrailingSeparator: Boolean = false, size: BreadcrumbSize = BreadcrumbSize.Medium)

Breadcrumb

Breadcrumbs show users their current location relative to the information architecture and enable them to quickly move up to a parent level or previous step.

This implementation doesn't have the overflow menu as the required components are not available yet.

(From Breadcrumb documentation)

Parameters

breadcrumbs

The list of breadcrumbs to display.

onBreadcrumbClick

Callback invoked when a breadcrumb is clicked.

modifier

The modifier to be applied to the breadcrumb.

displayTrailingSeparator

Whether to display a trailing separator or not.

size

The size of the breadcrumb.