ui-kit0.0

Signature

Onboarding checklist

Setup steps that tick off with progress.

Checklist

Setup steps in a card, with a progress ring. Tick a step (the box or its title) and the check draws itself. Tick them all for a small celebration. The chevron folds the steps away.

1/5

Set up your workspace

Five steps to your first deploy.

  1. Name it and pick a region.
  2. Teammates get access to every project.
  3. GitHub, GitLab or Bitbucket.
  4. You won’t be charged during the trial.

When to use

  • First-run setup with a handful of steps (3–7) a new user should finish.
  • Guiding people to the actions that make a product useful: invite the team, connect data, publish.

Not for: a linear form split over pages (use a stepper), a to-do list the user edits (use checkboxes), progress of a running task (use Progress).

Steps the app completes

With checkable={false} the circles are indicators only and your app marks steps done through value. Here each step’s button completes it. progress="bar" puts the bar under the title; onDismiss adds a Dismiss button once everything is done.

Launch your store

Steps tick off as you finish them.

  1. Verify your email (Completed)
  2. Add a payment method
  3. Connect your domain
  4. Publish your store

API

OnboardingChecklist

PropTypeDefaultDescription
titleReactNode—Card heading; names the section.
descriptionReactNode—Line under the title.
steps{ id; title; description?; action?; disabled?; checkable? }[]—The steps, in order. action shows while the step is not done.
valuestring[]—Controlled: ids of completed steps.
defaultValuestring[][]Initial completed ids when uncontrolled.
onValueChange(value: string[]) => void—New completed ids, in step order.
onComplete() => void—Called once when the last step is completed (never on mount).
checkablebooleantrueUsers can tick steps. false = the app marks them done.
collapsiblebooleantrueHeader button that folds the steps away.
open / defaultOpen / onOpenChangebooleandefaultOpen trueWhether the steps are shown.
progress'ring' | 'bar''ring'40px ring beside the title or a bar under it.
completeTitle / completeDescriptionReactNode—Header text once every step is done.
onDismiss() => void—Shows a Dismiss button in the finished state.
headingLevel2 | 3 | 4 | 5 | 63Heading level of the title.
labels{ progress?; count?; allComplete?; completed?; dismiss? }—Text for i18n.

Data attributes: data-state (open | closed), data-complete and data-celebrate on the card; each step has data-state (complete | incomplete) and data-current on the next one to do.

Keyboard

KeyAction
TabMoves through the collapse button, each step’s checkbox and its action.
SpaceTicks or unticks the focused step.
Enter / SpaceOn the collapse button, shows or hides the steps.

Accessibility

  • A section named by its title; the steps are an ordered list.
  • Each step is a native checkbox labelled by the step title and described by its description.
  • The collapse button follows the disclosure pattern (aria-expanded, aria-controls).
  • The progress ring or bar is a progressbar with “2 of 5 steps complete” as its value text; finishing is announced through a polite status region.

Motion

  • Ticking: the disc grows on the morph spring, then the check draws (320ms). Unticking reverses faster. Done titles fade to muted with a strike.
  • Finishing: the ring pops, a soft success halo spreads, the check in the ring draws and the new title rises in — once.
  • Collapsing uses the accordion’s height animation.
  • Reduced motion: states change instantly; no celebration.