Setup checklist


Install
npx shadcn add @klarhimmel/app-onboarding-checklistDetailsAbout, usage, props and more
A getting-started checklist with a progress bar and a count that follow the checkboxes. Each step has a title, a line of help and maybe one action.
States
setup checklist in 3 forms: just started, in progress, all done.
just started
Get started
Name what is being set up
Say how many steps remain until it works and that the list stays open.
0 in 4 steps done
Say that everything is set up and what happens now.
Say what the first step needs.
Say what the second step sets.
Say why the third step matters.
Say how the last step is shared.
in progress
Get started
Name what is being set up
Say how many steps remain until it works and that the list stays open.
2 in 4 steps done
Say that everything is set up and what happens now.
Say what the first step needs.
Say what the second step sets.
Say why the third step matters.
Say how the last step is shared.
all done
Get started
Name what is being set up
Say how many steps remain until it works and that the list stays open.
4 in 4 steps done
Say that everything is set up and what happens now.
Say what the first step needs.
Say what the second step sets.
Say why the third step matters.
Say how the last step is shared.
Notes
When to use it
A getting-started list for a new account, where each step is ticked in place and a bar shows progress. If the steps must happen in order with one shown at a time, app-onboarding-steps fits better; this one lets people do the steps in any order.
Writing for it
- Step titles hold 80 characters and descriptions 160. Start the title with a verb so the tick reads as a finished task. - The progress line is built from the count, progress.of and progress.suffix, as in '2 of 4 steps done'. Write the two small words so that sentence is grammatical in your language. - Use action (30) only on steps that need a button, and keep it to a verb phrase like Connect. Seven items is the cap, and two the minimum.
Watch out for
The action button of a step is hidden once that step is done, so a finished step cannot be reopened from it. The completion message (120) shows above the list only when every box is ticked, and the list stays so a step can be unticked.
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | 'Get started' | Text, up to 60 characters. Optional; empty is not rendered. |
title | string | 'Name what is being set up' | Text, up to 120 characters. |
description | string | 'Say how many steps remain until it …' | Text, up to 300 characters. Optional; empty is not rendered. |
progress | { label, of, suffix } | {…} | Fields: label, of, suffix. |
items | { title, description, done, action }[] | 4 items | List of 2 to 7. Each item: title, description, done, action (optional). |
complete | string | 'Say that everything is set up and w…' | Text, up to 120 characters. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |
Install
Installs
- Checkbox
- Button
- About
- A getting-started checklist with a progress bar and a count that follow the checkboxes. Each step has a title, a line of help and maybe one action.
- States
- Some done, none done or all done. The bar and the count follow the checkboxes; a finished list shows its completion message. New project? Set it up once: /get-started/installation.