Skip to content

Steps

Guides the user through a task step by step.

Code examples

Horizontal steps

SubmittedPendingPreparingAwaiting

Horizontal steps

Vertical steps

Apr 1, 10:00Apr 2, 14:30ETA tomorrow

Vertical steps

`direction='vertical'` with custom active color

API

Steps

Steps props

属性说明类型默认值
activeIndex of the current stepnumber0
directionLayout directionhorizontal | verticalhorizontal
active-colorColor for completed stepsstring-
inactive-colorColor for upcoming stepsstring-

Step

Step props

属性说明类型默认值
titleStep titlestring-

MiniDev Studio — Mini-app Development Toolkit