Edit page

Stepper

When the task is complicated or has a certain sequence in the series of subtasks, we can decompose it into several steps to make things easier.

Import Syntax

Basic Usage

Complete Step

This is the first step in a series

2
Current Step

This is the second step in a series

3
Pending Step

This is the third step in a series

Advanced Usage

Complete Step

This is the first step in a series

Error Step

This is the second step in a series

3
Pending Step

This is the third step in a series

error
1
Complete Step

This is the first step in a series

2
Current Step

This is the second step in a series

3
Pending Step

This is the third step in a series

selectable
Complete Step
Error Step
3
Current Step
small

Custom Icons

Complete Step
Error Step
Current Step
Pending Step
Complete Step
Error Step
Current Step
Pending Step
small

Vertical

Complete Step

This is the first step in a series

Error Step

This is the second step in a series

3
Pending Step

This is the third step in a series

Complete Step

This is the first step in a series

Error Step

This is the second step in a series

3
Pending Step

This is the third step in a series

small

Controlled Stepper

1
Complete Step

This is the first step in a series

2
Current Step

This is the second step in a series

3
Pending Step

This is the third step in a series

Props

Stepper default

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component; can be a Step.
smallBoolfalse-A style prop used to render small Steps.
verticalBoolfalse-A style prop to position the Steps vertically.

Step

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component; can be StepTitle or StepDescription.
errorBoolfalse-A style prop used to render the Step in an error state with red text and X icon.

StepTitle

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The text content of the component.

StepDescription

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The text content of the component.