Skip to main content

CamoBreadcrumb

A trail of where you are: the last item is the current location, earlier ones link up the hierarchy. When it doesn't fit (or has more than maxVisible items) the middle items collapse into a "…" menu. One Tab stop: the arrow keys move along the trail. label names the navigation; the current item announces "current page".

API​

public fun CamoBreadcrumb(
items: List<CamoBreadcrumbItem>,
modifier: Modifier = Modifier,
maxVisible: Int? = null,
label: String = "Breadcrumb",
)
NameTypeDefault
itemsList<CamoBreadcrumbItem>required
modifierModifierModifier
maxVisibleInt?null
labelString"Breadcrumb"
Design notes

Why CamoBreadcrumb works this way, its states and its edge cases: contributor docs.