Skip to content
HomeCobalt

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

Setup checklistA setup checklist in a rail card: each open step is a link to do it, a done step shows its check, and the bar counts them in the accent.

Your setup

Setup
x
Setup flowA three-part setup: the steps across the top, each part swapping in from the side it lies on, and the firm checked with the server before the next part opens.
  1. Profile, Current step
  2. Firm, Not started
  3. 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.json
import { Step, Steps, type StepStatus } from "@/components/cobalt/ui/steps"
import { StepSwap } from "@/components/cobalt/ui/step-swap"