Stepper
Steppers display progress through a sequence of logical and numbered steps. They may also be used for navigation.Horizontal Stepper
A horizontal stepper with linear flow.Vertical Stepper
A vertical stepper for mobile layouts or detailed steps.Non-linear Stepper
Allow users to enter a multi-step flow at any point.Alternative Label
Place labels below the step icon.Custom Icons
Use custom icons for step indicators.Optional Steps
Mark certain steps as optional.Error Steps
Indicate errors in specific steps.Custom Connector
Customize the connector between steps.Props
activeStep
- Type:
number - Default:
0 - Description: Set the active step (zero based index). Set to -1 to disable all the steps
orientation
- Type:
'horizontal' | 'vertical' - Default:
'horizontal' - Description: The component orientation (layout flow direction)
alternativeLabel
- Type:
boolean - Default:
false - Description: If set to
trueand orientation is horizontal, then the step label will be positioned under the icon
nonLinear
- Type:
boolean - Default:
false - Description: If set the Stepper will not assist in controlling steps for linear flow
connector
- Type:
React.ReactElement | null - Default:
<StepConnector /> - Description: An element to be placed between each step
component
- Type:
React.ElementType - Default:
'div' - Description: The component used for the root node
sx
- Type:
SxProps<Theme> - Description: System prop for defining CSS styles
Accessibility
- The Stepper provides semantic structure for assistive technologies
- Use descriptive labels for each step
- Completed and active states are communicated to screen readers
- Optional and error states should have clear text alternatives
- Ensure buttons for navigation are keyboard accessible