Task List
ProNewThe live to-do list of an agent run, with markers that turn from queued to spinning to checked.
Installation
pnpm dlx shadcn@latest add @viewport/task-list
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| tasks* | Task[] | — |
| label | stringHeading above the list and its accessible name. | "Tasks" |
| className | string | — |
Accessibility
- Every row carries its status as text for screen readers.
- Progress is announced once per change through a polite live region.
- Markers swap without scaling under reduced motion.