Checklist Cell

Animated checklist illustration with sliding tasks and progressive completion.

Loading...

Installation

npx shadcn@latest add @scrollxui/checklist-cell 

Usage

import { ChecklistCell } from '@/components/ui/checklist-cell';
<ChecklistCell
      className='w-full max-w-sm rounded-2xl border border-zinc-200 dark:border-zinc-800'
      initialCompleted={3}
      finalCompleted={6}
      stepInterval={700}
      tasks={[
        'How it all started',
        'Our values and approach',
        'Working together',
        'Union rules and integration',
        'Team structure',
        'Communication norms',
        'Feedback culture',
        'Onboarding wrap-up',
      ]}
    />

API Reference

Checklist Cell

Animated checklist illustration with sliding tasks and progressive completion.

Props

PropertyTypeDefaultDescription
tasksstring[]DEFAULT_TASKS
Array of task labels displayed in the checklist animation.
initialCompletednumber3
Number of tasks marked as completed at the start of the animation.
finalCompletednumber
Maximum number of tasks to complete before the animation resets.
stepIntervalnumber1700
Time (ms) between each progression step in the checklist animation.
hoverToPlaybooleanfalse
If true, animation starts on hover and resets on mouse leave.
classNamestring
Additional classes applied to the root container.

Built withby Ahdeetai.