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
- Kotlin
- Dart
public fun CamoBreadcrumb(
items: List<CamoBreadcrumbItem>,
modifier: Modifier = Modifier,
maxVisible: Int? = null,
label: String = "Breadcrumb",
)
| Name | Type | Default |
|---|---|---|
items | List<CamoBreadcrumbItem> | required |
modifier | Modifier | Modifier |
maxVisible | Int? | null |
label | String | "Breadcrumb" |
Design notes
Why CamoBreadcrumb works this way, its states and its edge cases: contributor docs.