Skip to content
OTF Kit logoOTF Kit

Onboarding Checklist

Feedback

Step-by-step onboarding checklist with progress tracking and completion state.

View in Storybook
Onboarding Checklist
Loading Storybook preview…

Installation

bun add @otfdashkit/ui

Usage

Import Onboarding Checklist from @otfdashkit/ui.

Code
// Onboarding Checklist — Step-by-step onboarding checklist with progress tracking and completion state.
//
// Install:
//   bun add @otfdashkit/ui

import { OnboardingChecklist } from '@otfdashkit/ui'

export function Example() {
  return (
    <OnboardingChecklist>
      {/* your content */}
    </OnboardingChecklist>
  )
}

Props

Props declared in the Checklist source. Inherited HTML attributes are not listed.

PropTypeDefaultDescription
collapsiblebooleantrueWhether the body is collapsible. Default true.
completedRecord<string, boolean>Controlled map of itemId → completed. If omitted, state is internal.
defaultOpenbooleantrueInitial open state (uncontrolled). Default true.
descriptionstringOptional subtitle / description.
hideProgressbooleanfalseHide the progress bar. Default false.
onComplete() => voidFired the first time every item flips to completed.
onItemChange(id: string, completed: boolean) => voidCalled when an item's completion changes.
titlestring'Getting started'Header title.

Related