Docs
Components
Checklist

The Checklist Component

<Checklist> is task-based onboarding with persisted progress.

Use it when users complete steps across multiple sessions.

Usage

onboarding-checklist.tsx
import { Checklist } from 'featuredrop/react'
 
const tasks = [
  { id: 'connect-provider', title: 'Connect provider', estimatedTime: '2m' },
  { id: 'add-widget', title: 'Add changelog widget', estimatedTime: '3m' },
  { id: 'enable-ci', title: 'Enable CI checks', estimatedTime: '4m' }
]
 
<Checklist
  id="new-user-onboarding"
  tasks={tasks}
  position="inline"
  onComplete={() => console.log('Checklist complete')}
/>

Key props

PropTypeNotes
idstringRequired checklist id
tasksChecklistTask[]Required task list
position'inline' | cornersLayout
collapsiblebooleanCollapse support
dismissiblebooleanHide checklist
onComplete() => voidFires when all tasks complete

Keep checklists short (3-7 tasks) and front-load the first value moment.

Interactive Demo