Skip to main content

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​

public fun CamoProgressSteps(
steps: List<CamoStep>,
current: Int,
modifier: Modifier = Modifier,
orientation: StepsOrientation = StepsOrientation.Horizontal,
label: String = "Progress",
)
NameTypeDefault
stepsList<CamoStep>required
currentIntrequired
modifierModifierModifier
orientationStepsOrientationStepsOrientation.Horizontal
labelString"Progress"
Design notes

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