Desktop wizard with a vertical side navigation menu and content panels for each step. Perfect for comprehensive account setup requiring multiple configuration screens.
Desktop-oriented wizard with a persistent vertical step list (icons, titles, and descriptions) next to a content panel, collapsing to a dot-based progress row on mobile. This is the most functionally complete wizard in the onboarding family: it exposes real onStepComplete and onFinish callback props and enforces which steps can be jumped to.
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.
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
npx shadcn add "https://ui.beste.co/r/onboarding11?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/onboarding11?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/onboarding11.tsx and the badge and button shadcn/ui primitives it depends on.
The installed file exports onboarding11Demo alongside the block: the exact props behind the preview above. Spread it to get a working four-step wizard in one line.
import { Onboarding11, onboarding11Demo } from "@/components/beste/block/onboarding11";
export default function OnboardingPage() {
return <Onboarding11 {...onboarding11Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Onboarding11 } from "@/components/beste/block/onboarding11";
import { Input } from "@/components/ui/input";
export default function OnboardingPage() {
return (
<Onboarding11
badge={{ label: "Setup", variant: "secondary" }}
heading="Account Setup"
steps={[
{
id: "1",
title: "Profile",
description: "Basic info",
content: <Input type="text" placeholder="Your name" />,
},
{
id: "2",
title: "Workspace",
description: "Team settings",
content: <Input type="text" placeholder="My Team" />,
},
]}
labels={{ next: "Continue", back: "Back", finish: "Get Started" }}
onStepComplete={(stepIndex, stepId) => console.log("completed step", stepIndex, stepId)}
onFinish={() => console.log("wizard finished")}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Small badge above the heading |
heading | string | – | Main headline |
steps | NavStep[] | [] | Ordered wizard steps, each with its own JSX content |
initialStep | number | 0 | Seeds the starting step and which earlier steps count as pre-completed |
labels | { next?: string; back?: string; finish?: string } | {} | Navigation button labels |
onStepComplete | (stepIndex: number, stepId: string) => void | – | Called every time Next/Finish is pressed, before advancing |
onFinish | () => void | – | Called instead of advancing when Next is pressed on the last step |
className | string | – | Extra classes for the outer <section> |
type NavStep = {
id: string;
title: string;
description?: string;
icon?: LucideIcon;
content: React.ReactNode;
};handleNext calls onStepComplete(currentStep, stepId), adds the current index to a completedSteps Set, then either advances currentStep or calls onFinish() if it's the last step.handleStepClick) only works if that step is already completed or is at/behind the current step (index <= currentStep || completedSteps.has(index)), so users can't skip ahead to steps they haven't reached yet.initialStep only seeds the starting currentStep and pre-marks every index below it as completed in the initial completedSteps set; it is not re-synced if the prop changes after mount.md, a dot-based progress row with a truncated current-step title and a "Step X of Y" readout replaces the full navigation; at md and above, a persistent side nav with icons, titles, and descriptions takes over. Both share the same handleStepClick logic.steps[].icon renders in the desktop side nav (overriding the numbered fallback for any step that isn't yet completed) but has no equivalent in the compact mobile dot row.steps is empty the component returns null rather than rendering an empty shell.Wiring the form up
This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.
onboarding8
Interactive form wizard with segmented progress bar, form fields, and back/next navigation. Perfect for account registration flows collecting user and company information.
onboarding6
Vertical timeline layout with step indicators, descriptions, and a connecting progress line. Perfect for workspace setup flows with detailed step explanations.
onboarding24
Onboarding screen displaying essential keyboard shortcuts in a grouped grid layout with key badges. Perfect for productivity tools that want to accelerate user adoption.
onboarding5
Multi-step progress indicator with numbered circles connected by a progress line. Perfect for account setup wizards that show users their completion status.
onboarding23
Onboarding screen for configuring account security including two-factor authentication, recovery email, and backup codes. Perfect for apps that prioritize security during onboarding.
onboarding30
Onboarding screen with navigable feature highlight cards, dot indicators, and back/next buttons. Perfect for introducing key platform features during the first-time user experience.