Wizard

Wizard represents a stepped workflow as a form of linear and mandatory progression through a defined process with several bullet points where the user need to interact with the content of each step during the workflow.

Specifications

Wizard step design specifications
Wizard step design specifications
Wizard variants design specifications
Wizard variants design specifications

States

States: enabled, focus, selected, unvisited and disabled.

Wizard states
Wizard states

Anatomy

Wizard anatomy
  1. 1.
    Step
  2. 2.
    Label
  3. 3.
    Separator
  4. 4.
    Helper text (Optional)
  5. 5.
    Step validator (Optional)

Design tokens

Color

Component tokenElementCore tokenValue
visitedStepFontColorStep:visited textcolor-black#000000
selectedStepFontColorStep:selected textcolor-white#ffffff
unvisitedStepFontColorStep:unvisited textcolor-grey-700#666666
disabledStepFontColorStep:disabled textcolor-grey-500#999999
visitedStepBackgroundColorStep:visitedcolor-white#ffffff
selectedStepBackgroundColorStep:selected backgroundcolor-purple-700#5f249f
unvisitedStepBackgroundColorStep:unvisited backgroundcolor-transparenttransparent
disabledStepBackgroundColorStep:disabled backgroundcolor-grey-100#f2f2f2
visitedStepBorderColorStep:visited bordercolor-black#000000
selectedStepBorderColorStep:selected bordercolor-purple-700#5f249f
unvisitedStepBorderColorStep:unvisited bordercolor-grey-700#666666
disabledStepBorderColorStep:disabled bordercolor-grey-100#f2f2f2
visitedLabelFontColorLabel:visitedcolor-black#000000
selectedLabelFontColorLabel:selectedcolor-black#000000
disabledLabelFontColorLabel:disabledcolor-grey-500#999999
visitedHelperTextFontColorHelper text:visitedcolor-black#000000
selectedHelperTextFontColorHelper text:selectedcolor-black#000000
separatorColorSeparatorcolor-grey-700#666666
focusColorFocus outlinecolor-blue-600#0095ff

Margin

Different values can be applied to each side of the component:top, bottom, left, right.

MarginValue
xxsmall6px
xsmall16px
small24px
medium36px
large48px
xlarge64px
xxlarge100px

Typography

Component tokenElementCore tokenValue
stepFontSizeStep textfont-scale-031rem / 16px
stepFontFamilyStep textfont-family-sansOpen Sans
stepFontStyleStep textfont-style-normalnormal
stepFontWeightStep textfont-style-regular400
stepFontTrackingStep textfont-tracking-wide-020.05em
labelFontSizeLabelfont-scale-031rem / 16px
labelFontFamilyLabelfont-family-sansOpen Sans
labelFontStyleLabelfont-style-normalnormal
labelFontWeightLabelfont-style-regular400
labelFontTrackingLabelfont-tracking-normal0em
helperTextFontSizeHelper textfont-scale-020.875rem / 14px
helperTextFontFamilyHelper textfont-family-sansOpen Sans
helperTextFontStyleHelper textfont-style-normalnormal
helperTextFontWeightHelper textfont-style-regular400
helperTextFontTrackingHelper textfont-tracking-normal0em

Border

Component tokenElementCore tokenValue
stepBorderStyleStep borderborder-style-solidsolid
stepBorderWidthStep borderborder-width-22px
selectedStepBorderWidthStep border:selectedborder-width-22px
disabledStepBorderWidthStep border:disabledborder-width-22px
stepBorderWidthStep border-radiusborder-radius-full9999px
separatorBorderWidthSeparatorborder-width-11px
separatorBorderStyleSeparatorborder-style-solidsolid

Size

PropertyElementCore tokenValue
widthStep-32px
heightStep-32px

Spacing

PropertyElementCore tokenValue
margin-leftLabelspacing-120.75rem / 12px
margin-leftStep containerspacing-241.5rem / 24px
margin-rightStep containerspacing-241.5rem / 24px

Iconography

PropertyElementValue
height/ widthCustom icon20/20px
height/ widthValidation icon18/18px

Accessibility

WCAG 2.2

WAI-ARIA