CamoProgressSteps
Shows where you are in a multi-step process; the app swaps the content and sets current (zero-based).
A step announces "Step 2 of 4, current"; steps with an CamoStep.onClick are buttons and the arrow keys move
between them. label names the list.
API
- Kotlin
- Dart
public fun CamoProgressSteps(
steps: List<CamoStep>,
current: Int,
modifier: Modifier = Modifier,
orientation: StepsOrientation = StepsOrientation.Horizontal,
label: String = "Progress",
)
| Name | Type | Default |
|---|---|---|
steps | List<CamoStep> | required |
current | Int | required |
modifier | Modifier | Modifier |
orientation | StepsOrientation | StepsOrientation.Horizontal |
label | String | "Progress" |
Design notes
Why CamoProgressSteps works this way, its states and its edge cases: contributor docs.