Interactive accordion layout where each step expands to reveal detailed instructions and action buttons. Perfect for setup guides that let users complete tasks at their own pace.
Accordion-style setup guide: each step is a collapsible panel with its own indicator, title, description, and caller-supplied action content, with the first step expanded by default. Completion status and expand/collapse state are two entirely separate mechanisms.
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/onboarding10?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/onboarding10?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/onboarding10.tsx and the badge and button shadcn/ui primitives it depends on.
The installed file exports onboarding10Demo alongside the block: the exact props behind the preview above. Spread it to get a working accordion guide in one line.
import { Onboarding10, onboarding10Demo } from "@/components/beste/block/onboarding10";
export default function OnboardingPage() {
return <Onboarding10 {...onboarding10Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Onboarding10 } from "@/components/beste/block/onboarding10";
import { Button } from "@/components/ui/button";
export default function OnboardingPage() {
return (
<Onboarding10
badge={{ label: "Setup Guide", variant: "secondary" }}
heading="Complete your setup"
description="Expand each step to learn more and complete the action."
steps={[
{
id: "1",
title: "Create your profile",
description: "Add your personal information",
content: <Button size="sm">Edit Profile</Button>,
},
{
id: "2",
title: "Connect your calendar",
description: "Sync your schedule",
content: <Button size="sm">Connect Calendar</Button>,
},
]}
completedSteps={["1"]}
primaryButton={{ label: "Continue to Dashboard", href: "/dashboard" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Small badge above the heading |
heading | string | – | Main headline |
description | string | – | Supporting copy below the heading |
steps | AccordionStep[] | [] | Ordered accordion panels |
completedSteps | string[] | [] | Ids of steps to mark as completed |
primaryButton | { label: string; href: string } | – | CTA below the accordion |
className | string | – | Extra classes for the outer <section> |
type AccordionStep = {
id: string;
title: string;
description?: string;
content: React.ReactNode;
};openSteps, initialized to [steps[0]?.id ?? ""] so the first step starts expanded. Toggling a step (toggleStep) purely opens or closes its panel; nothing about "completed" status is touched by this interaction.completedSteps is a plain array of step ids supplied via props; there is no click handler that adds an id to it, so marking a step done requires the parent to update the prop, for example after the user finishes whatever action button lives inside that step's content.completedSteps.length versus steps.length, independent of which panels are currently expanded.content node and is purely decorative in the shipped demo; there's no prop wiring those buttons back into the component's own state.primaryButton renders as a plain <a> tag wrapped in Button asChild, unlike the next/link Link used for CTAs in most other blocks in this family.steps is empty the component returns null rather than rendering an empty shell.onboarding6
Vertical timeline layout with step indicators, descriptions, and a connecting progress line. Perfect for workspace setup flows with detailed step explanations.
onboarding8
Interactive form wizard with segmented progress bar, form fields, and back/next navigation. Perfect for account registration flows collecting user and company information.
onboarding9
Animated step wizard with square numbered indicators and content cards for each step. Perfect for product walkthroughs that guide users through key features.
onboarding5
Multi-step progress indicator with numbered circles connected by a progress line. Perfect for account setup wizards that show users their completion status.
onboarding31
A getting-started section with an eyebrow over a hairline rule, a two-column heading, three monospace-numbered steps under their own hairlines, and an accent button.
onboarding11
Desktop wizard with a vertical side navigation menu and content panels for each step. Perfect for comprehensive account setup requiring multiple configuration screens.