Steps
stepsProgress through a fixed sequence, horizontal or vertical, with complete, current and upcoming states and a connector that fills as you go. Collapses to vertical on narrow screens.
import { Steps } from "@/components/forme/steps/steps";
const onboarding = [
{ title: "Account", description: "Name and email" },
{ title: "Workspace", description: "Invite your team" },
{ title: "Billing", description: "Choose a plan" },
{ title: "Launch", description: "Deploy the first app" },
];
export function StepsDemo() {
return (
<div className="flex w-full flex-col gap-10">
<Steps steps={onboarding} current={2} />
<Steps
orientation="vertical"
current={1}
steps={[
{ title: "Connect repository", description: "github.com/acme/web" },
{ title: "Configure build", description: "Detecting framework…" },
{ title: "Deploy" },
]}
/>
</div>
);
}Install
Adds the component, its registry dependencies, and the token stylesheet you import once.
API reference
Read from the source, so it is the API of the file you install. A prop marked * is required.
Steps
Progress through a fixed sequence: onboarding, checkout, a setup wizard.
| Prop | Type | Default | Description |
|---|---|---|---|
steps* | readonly Step[] | — | |
current* | number | — | Zero-based index of the step in progress. Earlier steps render complete. |
orientation | "horizontal" | "vertical" | "horizontal" |
Also takes every prop of <ol> attributes.
Related


Breadcrumb
Where a page sits in the hierarchy, as a labelled nav with an ordered list and the current page marked. Separators are drawn in CSS, so a screen reader hears the path and not the slashes.
navigation

Command menu
A command palette opened with ⌘K or Ctrl K, with a search field, grouped items, keyword matching and an empty state. Built on cmdk for the filtering and the keyboard path, inside a Radix dialog for the focus trap.
navigation

Dock
A macOS-style row of icons that swell under the pointer on a spring, with their neighbours growing too. Labels show on hover and focus, open apps get a dot, and reduced motion keeps every icon at its resting size.
navigation