Steps
Shows the steps of a setup or a form in parts, in order, and where each one stands: done, current, still to come, being checked or failed.
Steps lists the steps and Step is one of them, down a card as a checklist or across the top of a flow. StepSwap changes the flow's body from one step to the next, from the side the next step lies on.
Examples
Your setup
Setup
- Add a photo, Done
- Confirm your firm, Done
- Follow three funds, Current step
- Choose your filing alerts, Not started
- Invite a colleague, Not started
- Profile, Current step
- Firm, Not started
- Alerts, Not started
Shown to your team beside your notes.
Usage
Use it when
- A setup a person finishes over several visits, as a checklist with a bar.
- A form in two to six parts that each depend on the last, with Back and Continue.
Use something else when
- A record's history. Use Timeline instead.
- Progress through one measured task, such as an upload. Use Progress instead.
- Views of one thing a person moves between freely. Use Tabs instead.
Rules
General
Content
Avoid
Limits
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/steps.json https://kaanarici.com/r/cobalt/step-swap.jsonimport { Step, Steps, type StepStatus } from "@/components/cobalt/ui/steps"import { StepSwap } from "@/components/cobalt/ui/step-swap"