Steppers
Steppers convey progress through numbered steps.
Steppers are a visual representation of a sequence or flow for user inputs. They provide a wizard like workflow.
Steppers are appropriate when there are more than two steps in a process. For a process of more than five steps, other navigation options should be explored.
Basic Stepper
The Stepper
can be controlled by passing the current step index (zero-based) as the activeStep
property.
Label Positions
Labels may be positioned with the labelLocation
prop at the default of right
or alternatively to the top
or bottom
. Steppers with longer labels or greater than 3 steps should choose top
or bottom
alignment.
Mobile View
Provide a truncated view for mobile devices by including the truncate
prop. Reduce screen width to preview.