Steps

Steps component display progress & tasks through a sequence order.

Basic

The default usage of Steps component.

Title

Example Steps with title.

Vertical

Steps display in horizontal by default, but it be vertical using vertical props.

Description

Steps can have description, but it only available for vertical layout.

Custom Icon

Steps label can be replaced by icons.

Error

Set the 'error' to status prop to indicate that step is in error state.

Controlled steps

We can make Steps dynamic by controlling the current prop.

Clickable

Setting onChange to make Steps clickable.

API

Steps
PropDescriptionTypeDefault
currentThe current step, counting from 0number0
onChangeCallback when Steps is changed(index: number) => void-
statusStatus of current step'complete' | 'pending' | 'in-progress' | 'error''in-progress'
verticalWhether to display Steps in verticalbooleanfalse
Steps.Item
PropDescriptionTypeDefault
customIconCustom element for Step labelReactNode | string-
descriptionStep description, only available when Step is verticalReactNode | string-
titleStep titleReactNode | string-