stepper() renders numbered workflow stages with automatic completed, active, and upcoming states—or explicit per-step status (completed, active, pending, error).
stepper()
completed
active
pending
error
<ComponentPreview title="Horizontal Stepper">
{
"type": "stepper",
"title": "Agent Deployment Pipeline",
"active": 2,
"orientation": "horizontal",
"steps": [
{"label": "Connect LLM", "description": "Provider verified"},
{"label": "Index Knowledge", "description": "420 docs embedded"},
{"label": "Run Evals", "description": "Checking accuracy"},
{"label": "Publish", "description": "Production deploy"}
]
}
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Parameter | Type | Description |
|---|---|---|
| steps | list[dict] | Ordered steps (label, optional description and status: completed, active, pending, error). |
steps
list[dict]
label
description
status
| active | int | Zero-based active step index used when per-step status is omitted. |
int
| orientation | str | "horizontal" (default, wraps on phone) or "vertical". |
orientation
str
"horizontal"
"vertical"
| title | str | Optional header above the stepper. |
title