Get StartedComponentsStylingThemingMath & Science
MCP

Navigation

Steps

A step indicator for multi-stage flows. It runs sideways by default; set orientation="vertical" to stack the steps top to bottom.

In the vertical layout, put the title and description in a Box with flex="1" and bottom padding, so the separator stretches to the next step.

Markdown

Import

tsx
import { Steps } from "@indoku/ui"

Examples

Horizontal

Account

Profile

Done

Vertical

orientation="vertical" with a fixed height.

Account

Create your login

Profile

Tell us about you

Done

Review and finish

Content and triggers

Steps.Content, PrevTrigger and NextTrigger.

Account

Profile

Done

Create your login

Props

Steps.Root

PropTypeDefaultDescription
count*number–Total number of steps.
step / defaultStepnumber–Controlled or initial current step (0-based).
onStepChange(details: { step: number }) => void–Called when the step changes.
orientation'horizontal' | 'vertical''horizontal'Layout direction.
linearbooleanfalseBlock jumping ahead of the current step.

* required. Style props and HTML attributes are accepted as well.

Created by @indokudev