Skip to content

Onboarding Checklist

A compact card of first-run steps for a dashboard corner: a count and a progress bar, steps that are done, next, available or locked with the reason, a call to action and an optional how-to on each, snooze and dismiss, and a short completion message. Controlled: you own which steps are done.

On this page
Used for
  • First-run setup steps
  • Connect your agent steps
  • Dashboard corner card
  • Trial activation guide
  • Locked step reasons

Examples

Completed

Installation

npx knowns-ui@latest add onboarding-checklist
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

steps
{ id, title, description?, cta?, how?, done?, locked? }[]
You own `done`. `locked` can be a string: it is shown as the reason. The first step that is neither done nor locked is the current one and opens by itself.
cta
{ label, href?, onClick? }
A button, or a link when `href` is set. Fires `onClick` and then `onStepAction(id)`.
how
ReactNode
Extra help behind a native How to disclosure inside the open step.
title / description
ReactNode
Default"Get set up"
The heading and an optional line under it.
onSnooze / onDismiss
() => void
Each shows its quiet button. The block never hides itself: set `dismissed` or unmount it.
dismissed
boolean
Defaultfalse
Renders nothing.
completeTitle / completeDescription
ReactNode
The completion message, shown when every step is done.

Done steps are plain rows and locked steps cannot be opened; every other step is a disclosure button with aria-expanded. The count is also announced politely when it changes. The completion check pops in once and is still when reduced motion is on.

What it handles

  1. 01Counts done steps for you, shows 3 of 5 beside the title and feeds the same number to a small progress bar.
  2. 02Opens the first step that is neither done nor locked, follows it as steps finish, and lets people open any other available step.
  3. 03Renders done steps as struck-through plain rows and locked steps with a lock mark and the reason when `locked` is a string.
  4. 04Runs a step's call to action as a link when it has an `href`, or a button otherwise, and fires `onStepAction` with the step id in both cases.
  5. 05Offers an optional How to disclosure inside the open step, plus Remind me later and Dismiss buttons that call `onSnooze` and `onDismiss`.
  6. 06Swaps the list for a completion message when every step is done, and renders nothing when `dismissed` is true because it never hides itself.

States

First render
Nothing. The current step is already open
none
Open or close a step
The chevron turns; the panel shows at once
120ms, ease out
A step finishes
The row becomes a done row and the next step opens
none
All steps done
The check mark pops in on the completion message
280ms, ease out
Reduced motion
The completion check appears without the pop
0ms

Works with

When to use

When to use

  • A first-run card in a dashboard corner that walks a new user through the steps that matter.
  • Steps that depend on each other, where a locked step should say why.

When not to use

  • One flow that takes over the screen, one step at a time: use Setup Wizard.
  • Showing progress of a single task: use Progress.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Onboarding Checklist to my app and wire it to my own data.
  • I need a first-run card in a dashboard corner that walks a new user through the steps that matter. Set that up with the Knowns UI Onboarding Checklist.
  • Which Onboarding Checklist props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "onboarding-checklist" }) and search_docs({ query: "onboarding checklist" }).

Need help?

Stuck on Onboarding Checklist, or found something off? We read every message.