任务清单

New

可折叠的 Agent 任务计划:待办/进行中/完成/取消状态、进度变形为对勾、完成计数、稳定流式行与紧凑元数据。

  1. In progress: Inspect the current data flow25%
  2. Pending: Update the response schema
  3. Pending: Add coverage for edge cases
  4. Pending: Run checks and prepare the result

安装

用 shadcn CLI 添加,或手动复制源码。

$ bunx --bun shadcn add @uilab/todo-list

API 参考

items
TodoItem[]
title?
ReactNode
To-dos
open?
boolean
defaultOpen?
boolean
true
onOpenChange?
((open: boolean) => void)
collapseOnComplete?
boolean
true
maxHeight?
number
248
className?
string

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.