Steps
freeSteps track progress through a multi-stage flow like checkout or onboarding.
Account
Shipping
Payment
Review
Installation
Add this component with the NateUI CLI.
Examples
Basic
Title
Cart
Address
Delivery
Confirm
Custom Icon
Sign in
In review
Documents
Approved
Error
Details
Payment
Review
Done
Vertical
Account
Shipping
Payment
Review
Description
AccountCreate your workspace login
TeamInvite the people you work with
BillingAdd a payment method
LaunchPublish your first project
Controlled
Account
Shipping
Payment
Review
Step 1 of 4 — Account
API
Steps is a compound component. Steps owns the current index and derives each item's status from it, while Steps.Item renders one stage and can override its own status, icon, title, and description.
Steps
| Prop | Description | Type | Default |
|---|---|---|---|
current | Zero-based index of the active step. Earlier steps render as complete, later steps as pending. | number | 0 |
status | Status applied to the active step. Use 'error' to flag a failed step in the flow. | StepStatus | 'in-progress' |
vertical | Stack steps vertically instead of in a horizontal row. | boolean | false |
onChange | Fired with a step index when a step is clicked. Providing it makes steps clickable. | (index: number) => void | - |
className | Extra classes for the steps container. | string | - |
Steps.Item
| Prop | Description | Type | Default |
|---|---|---|---|
title | Step label shown beside or below the indicator. | string | ReactNode | - |
description | Supporting text under the title. Renders only when Steps is vertical. | string | ReactNode | - |
customIcon | Node rendered inside the indicator in place of the check, cross, or step number. | string | ReactNode | - |
status | Overrides the status derived from current for this step. | StepStatus | - |
className | Extra classes for the step item. | string | - |