Black Friday: 30% off Pro

Get 30% off

Updated

Setup Checklist

New

Preview

Customize

Duration0.60s

Installation

npx shadcn@latest add https://uibrik.com/r/setup-checklist.json
Adds the files to components/uibrik/setup-checklist and installs @tabler/icons-react and motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/setup-checklist.

Usage

import { SetupChecklist } from "@/components/uibrik/setup-checklist/setup-checklist";​const tasks = [  { id: "project", title: "Create a project", description: "Name it and pick a region", action: { label: "Create" } },  { id: "team", title: "Invite your team", description: "Add people by email or link", action: { label: "Invite" } },  // …3 more];​<SetupChecklist  title="Get started"  doneTitle="You're all set"  duration={0.6}  tasks={tasks}  defaultValue={["project"]}  doneDescription="Everything is ready to go."  onComplete={() => {}}  // value={["…"]}  // onValueChange={(done) => {}}/>

Where to use Setup Checklist

  • Product onboarding

    New accounts see what's left to set up, and every step they finish visibly counts.

  • Workspace setup

    Invite, connect and configure steps sit in one card that folds away once done.

    Pairs with Invite Members

  • Launch checklists

    Pre-launch tasks fill the ring one by one, with finished ones kept under Done to reopen.

Props

SetupChecklist
title
Type string
"Get started"
The card's heading.
doneTitle
Type string
"You're all set"
Shown once everything is done.
duration
Type number
0.6
How long the dot takes to fly into the ring.
tasks
Type { id; title; description?; action? }[]
–
The steps. action adds a button to the row, e.g. { label: "Invite", onClick }.
value / onValueChange
Type string[] / (done) => void
–
Finished task ids, controlled.
defaultValue
Type string[]
–
Finished task ids on mount, uncontrolled.
onComplete
Type () => void
–
Called once when the last task is finished.
doneDescription
Type string
"Everything is ready to go."
The line under the done title.
className
Type string
–
Classes for the card.