Onboarding checklist comes with Pro. Its preview shows once you unlock it.
Usage
import { DashboardOnboarding } from './DashboardOnboarding.jsx'
// Without steps the checklist shows its sample bakery setup. Wire it to yours:
<DashboardOnboarding
locale="en"
steps={setup.steps} // [{ id, title, text, action, minutes?, done?, icon? }]
onStep={(step) => setup.run(step.id)} // resolve when done; a rejection shows the step's error line
onUndo={(step) => setup.reopen(step.id)}
onFinish={() => router.push('/dashboard')}
onDismiss={() => setup.hide()}
loading={setup.loading}
/>Props
| Prop | Type | Default | What it does |
|---|---|---|---|
locale | 'en' | 'zh-CN' | 'es' | 'ja' | 'en' | Language of the built-in text and the sample steps. |
steps | Array<{ id, title, text, action, minutes?, done?, icon? }> | sample setup | In order. text is the one-line how-to, action the button that does it, minutes adds to the time left, icon is a kit icon name. |
onStep | (step) => Promise | void | — | A step’s action was pressed. The button waits while the promise runs; a rejection keeps the step open with an error line. |
onUndo | (step) => void | — | A done step was marked as not done. |
onFinish / onDismiss | () => void | — | The finished state’s main button, and Hide checklist. Without onDismiss the checklist folds into a bar that can show it again. |
dismissed | boolean | false | Starts folded into the slim bar. |
loading | boolean | false | Shows the skeleton of the checklist. |
labels | object | — | Replaces any built-in text (keys as in copy.js). |
className | string | — | Extra class on the root element. |
Add it to your project
Pro includes the full source of this block. Copy its prompt to install it with your coding agent.
DashboardOnboarding.jsxdashboard-onboarding.csscopy.jskit.jsxkit.cssui/base-button/ui/success-check/ui/progress-ring/ui/skeleton-shimmer/tokens.cssREADME.md
The block, its stylesheet and text, the shared kit, the components it uses and tokens.css install together into one folder.
