A shadcn-style steps component built with Ark UI primitives.

First – Contact Info

Step 1 of 3

Installation

npx shadcn@latest add @ark-cn/steps

Usage

import * as Steps from "@/components/ui/steps"

Read exported parts in src/components/ui/steps.tsx and compose the primitive according to the Ark UI pattern for this component.

Examples

Basic

First – Contact Info

Step 1 of 3

Controlled

First – Contact Info

Step 1 of 3

Root provider

step: 1

First – Contact Info

Step 1 of 3

Vertical

Shipped

Your order is on its way to you

This is the content for Shipped. You can add forms, information, or any other content here.

Form wizard

Step 1 of 3

Personal form

Step 1 of 3

Context

First – Contact Info

Progress: 0% · completed: false

Linear

First – Contact Info

Step 1 of 3

Nested

Nested steps inside step content:

Inner content 1

Horizontal centered

AddressAdd your address
ShippingSet your preferred
PaymentAdd any payment
CheckoutConfirm your order

Vertical buttons

Your detailsProvide your name and email address. We will use this information to create your account
Company detailsA few details about your company will help us personalize your experience
Invite your teamStart collaborating with your team by inviting them to join your account. You can skip this step and invite them later

Form centered

Your detailsProvide your name and email
Your passwordChoose a password
Your Favorite DrinkChoose a drink

API reference

This component mirrors the upstream Ark UI primitive.

See the ARK UI documentation for the full API.