Skip to content
Thrum

Onboarding checklist

The setup list a new account sees first: a heading with progress, then the steps, one open at a time with a description and a button. You mark steps done; the list ticks them, opens the next one and says when everything is finished. For steps that must happen in order on one page, use a stepper.

Install

npx shadcn@latest add @thrum-pro/onboarding-checklist

This is a Pro component. The command works once your project has a licence key: set up Pro or see pricing.

Automatically installs icons circle, circle-check and x from the icon set.

Data shape

Type
type OnboardingStep = {
  id: string;
  title: string;
  description?: string;
  actionLabel?: string;
  done?: boolean;
};
Sample
[
  { id: "workspace", title: "Create your workspace", done: true },
  { id: "team", title: "Invite your team", description: "Teammates get an email.", actionLabel: "Invite people" },
]

Props

PropTypeDefaultDescription
stepsreadonly OnboardingStep[]RequiredThe steps in the order to do them. A step with done is ticked and closed; its button is replaced by the word Done.
titlestringDefault "Get started"The heading. It also names the progress bar.
descriptionstring–A line under the heading in the muted colour.
headingLevel2 | 3 | 4Default 2The level of the heading. Each step's title is a heading one level below it.
onStepAction(id: string) => void–Called with the step's id when its button is pressed. Mark the step done here, or later once the work behind it is finished.
onDismiss() => void–Called when the dismiss button is pressed; the checklist then hides itself. Without it there is no dismiss button.
dismissLabelstringDefault "Dismiss checklist"The name of the dismiss button.
finishedTitlestringDefault "You are all set"The heading shown in place of the steps once every step is done.
finishedDescriptionstringDefault "Every step is done. You can close this list."The line under it.
emptyLabelstringDefault "No steps"Text shown when steps is empty.
soundbooleanDefault truePlay a tick for each step that gets done, a rising tone when the last one does, and the open and close sounds of the steps, if the visitor has sound on.
classNamestring–Sets the size. The checklist fills the width it is given.

Motion and sound

Motion

  • First draw: the progress bar is at its reading and the first step still to do is open. Nothing grows on load.
  • A step that gets done closes and the next one opens, each in 200 ms. The bar moves to the new reading in about 400 ms with no overshoot.
  • The check mark of a step and the finished state appear at once.
  • Reduced motion: steps open and close and the bar moves instantly.

Sound

  • A tick when a step gets done, and a rising two-note tone instead when it is the last one.
  • Opening or closing a step by its title plays the open or close sound. A step that closes because it got done is silent apart from its tick.
  • The dismiss button plays the close sound.

Sound is off until the visitor turns it on. Pass sound={false} to keep this component silent. How sound works

Accessibility

  • The steps follow the accordion pattern: each title is a button inside a heading, with aria-expanded, and one step is open at a time.
  • Each title button is named with its state after the title, as in Invite your team, to do. A done step shows a check mark in a circle instead of an empty circle, so its state never rests on colour.
  • The progress bar is named by the heading and reads like 3 of 5 done. The same words above it are a polite live region, so a change is read once.
  • The checklist is a panel surface: under frosted glass it turns translucent and its text keeps 4.5:1 contrast.
KeysAction
TabMove through the dismiss button, the step titles and the open step's button.
Enter / SpaceOn a step title: open it and close the one that was open, or close it.
Enter / SpaceOn a step's button: call onStepAction. Once the step is done the focus moves to the next open step's title, or to the finished message.

Source

SourcePro

The source comes with Pro

TypeScript source · Copy-paste ready · MIT-compatible for client projects · Includes all dependencies

Files and dependencies

Adds
components/onboarding-checklist.tsx
Packages
motion
Brings along
AccordionButtonCardIcon buttonChart foundationsMotion tokensSound engine
Icons
circlecircle-checkx

Changelog

  1. 1.0.0 · 2026-12-03First release.

Loading index…

Keyboard shortcuts

/Ctrl KSearch components, docs and actions
?Show this list
AAppearance studio
SSound on or off
MFull or reduced motion
TTheme: auto, light, dark
GSurface: solid or frosted
BBackdrop photograph (under glass)
CCorner radius: square to round
RReplay the demo, on a component page
DDraw new data, on a component page
←→HomeEndMove the cursor in a focused chart
EscClose a dialog, or leave a chart cursor