Stepper
Overview
A Stepper is used to guide users through a sequential process or to indicate progress within a multi-step workflow.
Live demo
Usage
Do
Use when breaking down complex tasks into smaller, manageable steps.
Utilise visual cues like Icons or colour changes to enhance the distinction between completed, current, and upcoming steps.
Provide users with the ability to navigate back and forth between steps for a flexible and user-friendly experience.
If applicable, implement real-time validation to inform users of any errors or missing information before progressing to the next step.
Ensure the Stepper component is responsive and optimised for mobile devices to provide a consistent experience across various screen sizes.
Don't
Avoid creating excessively long or complex step sequences that may overwhelm users; break down processes into logical and manageable chunks.
Ensure that next or previous buttons are clearly visible and accessible, preventing confusion or frustration for users.
Placement
The Stepper is commonly placed in areas where users need guidance through a process, such as:
Registration forms
Tutorials or onboarding flows
Multi-step wizards
Content guidelines
Use clear and concise labels for each step, providing users with a quick understanding of the action or information required at that stage.
Include instructional text or tooltips when necessary to guide users through each step without ambiguity.
If a step requires user action, provide informative error messages if issues arise, guiding users on how to resolve them.
States and interactions
| Example | State | When to use |
|---|---|---|
| Enabled | The enabled state is appropriate when a step is ready for interaction. Users can click or tap on an enabled step to progress through the stepper. | |
1 Label Sub text | Hover | The hover state is useful to provide visual feedback when a user hovers their cursor over a step. It enhances the interactive experience. |
1 Label Sub text | Focus | The focus state is crucial for accessibility and keyboard navigation. It indicates which step is currently in focus, allowing users to navigate using the keyboard. |
1 Label Sub text | Disabled | The disabled state is used when steps are temporarily inaccessible, such as when a user must complete a preceding step. Avoid disabling steps without clear reasoning, and ensure disabled steps offer explicit information about why they are inaccessible. |
| Complete | The complete state is used to clearly display when a step has been successfully completed. In some instances a user can still access or go back to this step to review or edit information. |
Accessibility
Ensure all steps and navigation controls are accessible via keyboard navigation for users who rely on assistive technologies.
Provide descriptive and informative ARIA labels to ensure screen reader users can maintain sufficient contrast between the background and text/colours to accommodate users with visual impairments.
Implement clear focus styles on interactive elements within the Stepper for users navigating with a keyboard or other input devices.
iOS guidance
Along with the guidance above, there is some iOS specific guidance for this component.
Optimise the Stepper for touch gestures on iOS devices, allowing users to swipe or tap for seamless navigation between steps.
Ensure the Stepper components adapt to Dynamic Type settings, allowing users to adjust text size for improved readability on iOS devices.