Horizontal Steps with Progress Line

Multi-step progress indicator with numbered circles connected by a progress line. Perfect for account setup wizards that show users their completion status.

PRO

Onboarding5: Horizontal Steps with Progress Line

Centered horizontal step tracker: numbered circles connected by a progress line, with the current and completed steps distinguished by border and fill color. The component has no internal state at all; every circle's completed/current status is derived fresh on each render from the currentStep number prop.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/onboarding5?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/onboarding5?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/onboarding5.tsx and the badge and button shadcn/ui primitives it depends on.

Quick start

The installed file exports onboarding5Demo alongside the block: the exact props behind the preview above. Spread it to get a working step tracker in one line.

tsx
import { Onboarding5, onboarding5Demo } from "@/components/beste/block/onboarding5";

export default function OnboardingPage() {
  return <Onboarding5 {...onboarding5Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Onboarding5 } from "@/components/beste/block/onboarding5";

export default function OnboardingPage() {
  return (
    <Onboarding5
      badge={{ label: "Setup", variant: "secondary" }}
      heading="Complete your profile"
      description="Follow these steps to get started with your account."
      steps={[
        { id: "1", title: "Create account", description: "Sign up with your email" },
        { id: "2", title: "Verify email", description: "Check your inbox" },
        { id: "3", title: "Add details", description: "Tell us about yourself" },
      ]}
      currentStep={1}
      primaryButton={{ label: "Continue", href: "/setup/step-2" }}
      secondaryButton={{ label: "Skip for now", href: "/dashboard" }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Small badge above the heading
headingstringMain headline
descriptionstringSupporting copy below the heading
stepsStep[][]Ordered steps rendered as numbered circles
currentStepnumber0Index of the active step; drives completed/current styling only
primaryButton{ label: string; href: string }Primary CTA below the track
secondaryButton{ label: string; href: string }Secondary/ghost CTA next to the primary one
classNamestringExtra classes for the outer <section>
ts
type Step = {
  id: string;
  title: string;
  description?: string;
};

Behavior notes

More Onboarding blocks

View all Onboarding
PRO

onboarding12

Circular Progress with Checklist

Visual progress tracker featuring a circular percentage indicator with completion stats and task list. Perfect for profile setup flows that encourage users to reach 100% completion.

PRO

onboarding6

Vertical Timeline Steps

Vertical timeline layout with step indicators, descriptions, and a connecting progress line. Perfect for workspace setup flows with detailed step explanations.

FREE

onboarding9

Step Cards with Numbered Indicators

Animated step wizard with square numbered indicators and content cards for each step. Perfect for product walkthroughs that guide users through key features.

PRO

onboarding8

Multi-Step Form Wizard

Interactive form wizard with segmented progress bar, form fields, and back/next navigation. Perfect for account registration flows collecting user and company information.

PRO

onboarding7

Progress Bar with Task Checklist

Card-based progress tracker showing completion percentage and a checklist of tasks with visual status. Perfect for gamified onboarding that motivates users to finish setup.

FREE

onboarding1

Welcome Hero with Step Indicator

Centered welcome screen featuring a hero image, step counter, and dual CTAs. Perfect for app onboarding flows that guide users through a multi-step setup process.