Installation
bash
npx shadcn@latest add https://ui.noicess.fun/r/task-list.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| tasks / defaultTasks | TaskItemData[] | - / [] | Controlled list, or the starting list. Items are { id, label, done }. |
| onTasksChange | (tasks: TaskItemData[]) => void | - | Called with the full list after a toggle. |
| className | string | - | Additional classes merged with the list. |