Todo list
A checklist an agent or user ticks through, with progress.
Done: Read the current table component
Done: Write the sort helper
In progress: Remove stale snapshots
Waiting for your approval to delete 3 files.
Not started: Summarise the changes
Step 3 of 4: Remove stale snapshots
When to use
- Showing the plan an agent is working through.
- Tracking a short list of steps with a clear done state.
When not to use
- Items need owners, dates or columns; use a board.
Installation
pnpm dlx shadcn@latest add @caliper/todo-list
Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
TodoList
4 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status semantics, with aria-label, aria-expanded, aria-controls and aria-hidden kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/todo-list.mdThe index of every part is at /llms.txt.