Wizard
Description
Wizard is a component that guides users through a series of predefined steps to complete a larger task. It simplifies complex tasks by breaking them down into manageable steps, reducing the perceived complexity.
Usage recommendations
When to use wizard
- Use a wizard when dealing with large tasks that can't be simplified. Breaking them down into steps helps users focus on each part of the task.
- If a task requires a specific sequence of steps to be followed, a wizard ensures users don't miss important parts and make fewer mistakes.
- Wizards are suitable when a task involves three-five steps. For smaller tasks with just two steps or very large tasks with more than ten steps, consider alternative approaches and components.
When not to use wizard
- Avoid using wizards for educational purposes, as they focus on task completion rather than providing additional information for learning. Instead, use components like FeaturePopover, Informer, DesctiptionTooltip, or videos for education.
- Advanced users may find predefined steps in a wizard restrictive. Consider using wizards for audiences that would benefit from step-by-step guidance.
Component composition

Component consists of the following:
Wizard.SidebarWizard.StepperWizard.ContentWizard.StepWizard.StepBackWizard.StepNext
Appearance
By default, Wizard has the following maximum sizes:
max-width: 980px;
max-height: 700px;
Stepper states
| State | Appearance example |
|---|---|
| Normal | |
| Hover | ![]() |
| Active | |
| Disabled | |
| Checked |
Optional stepper
If a step is optional, you can add an "optional" label to it using the following styles:
<Text
color='wizard-sidebar-text-secondary'
fontWeight={400}
mt={1}
tag='div'
>
optional
</Text>Refer to the example with custom step.
Footer styles
We recommend:
- Using the
Lsize for basic controls - Using the
spacing-3xgap within the footer and thespacing-5xgap between the footer and the content.

Collapsing panel with steps on screen less than 1060px
When the screen width is below 1060px, the steps panel collapses to 44px and displays only step numbers. Hovering over a step number shows the step name.

Placement
The scroll behavior inside and outside the window, the general rules for content, etc. are the same as for the Modal component.
Center the Wizard relative to the user's viewport. And leave margins of 40px outside the window.

Keyboard control
- When opening a Wizard, the focus should move to it.
- Users can move between interactive elements within the window using the
Tabkey. - The Wizard can be closed with the
Esckey.
When the Wizard closes, the focus should return to the page. Refer to Accessibility guidelines.
Usage in UX/UI
TIP
For consistent user experience within products of the same platform, use a Wizard for setting up products.
In exceptional cases, steps can be placed in the content area of the page.
Here are some scenarios where a universal solution is recommended:
Form validation
After submitting a form, highlight all invalid inputs and focus on the first invalid input.
For more information about validation, refer to the Validation.

Form loading error
If an error occurs on the backend while submitting a form, display the error message above the form.

Sizes of form controls
In the form, use the same sizes for inputs and controls.

Saving entered value
If data entered into the form by the user wasn't sent and the window is closed, save the entered data so that the user doesn't lose it.
