Task List

Checklist where finishing a row sweeps a strike across it.

General

Installation

bash
npx shadcn@latest add https://ui.noicess.fun/r/task-list.json

Props

PropTypeDefaultDescription
tasks / defaultTasksTaskItemData[]- / []Controlled list, or the starting list. Items are { id, label, done }.
onTasksChange(tasks: TaskItemData[]) => void-Called with the full list after a toggle.
classNamestring-Additional classes merged with the list.