Checklist: the small steps inside a record
Checklist is how an app built on Meadowstack keeps the small steps inside a record: the sub-tasks of a task, the loading steps of a delivery, a closing routine. A tick draws itself and a line runs through the finished step, the field to add one stays open after Enter, and steps reorder by drag or from the keyboard.
By Bohuslav PoláčekChecked
What it is for
Some records carry a short list of their own steps: the parts of a task, what has to be loaded before a truck leaves, the routine at closing time. They are not records of their own, with an owner and a page; they are lines to tick. Checklist is that list, inside the record's panel.
The preview shows two tasks from the Brightpath example. On BRI-106 three of five sub-tasks are done: each finished one has its tick drawn and a line through its words, the progress shows how far the task is, and the field under the list adds the next step. BRI-101 is finished, and it is shown as someone without edit rights gets it: only ticking is passed, so there is no field to add, nothing to remove and nothing to drag. A task board shows the same sub-task count on each card.
The manifest keeps it inside records (record and index screens). A list of records, each with its own status and page, is a DataTable.
The rules and where they live
- A finished item's line runs across it. The root
AGENTS.md, Motion: the kit'sDoneText, one element changing instead of two swapping, reduced motion keeping fades only. - Drag works from the keyboard too, with announcements.
docs/patterns.md, Lists, boards and records (SortableBoard,SortableList);AGENTS.md, Keyboard: arrows in lists, Space picks an item up. - Rows keep one height; ticking never changes a row's height.
AGENTS.md, under rows in a list. - Checkboxes are big enough to hit. The runtime audit rule
target-size(e2e/audit/rules.ts,docs/audit.md) wants checkboxes 24 × 24 with their label. - Changes are optimistic.
docs/principles.md, Response time: the tick shows at once, the request follows, a toast on failure. - Hide what the person cannot do.
AGENTS.md, Permissions and audit: leave outonAdd,onRemoveandonReorderfor someone who may only tick. - No own checkbox in an app. The static guard
bare-controlinscripts/check-markup.mjsfails an app's owninput.
What AI coding tools write instead
The manifest names a list of checkboxes with hand-made adding and reordering. Typically that is native checkboxes beside text, an "Add item" button that opens a dialog for every step or a field that closes after each one, and reordering with up and down arrows or not at all. A strike-through that wraps makes the row taller, so the list jumps when someone ticks. Dragging, where it exists, needs a mouse, and the controls for adding and deleting show for everyone, whatever they may do.
Checklist puts those decisions in one place: the tick and the line are the kit's motion, the add field stays open so a routine of five steps is five lines of typing, reordering is SortableList with the keyboard and screen reader support it has on boards, and the handlers you leave out decide what a person can change.
How to use it
| Prop | What it takes |
|---|---|
label | The list's name, such as "Sub-tasks". |
items | ChecklistItem[]: id, title, done. |
onToggle | Gets the item's id and its new done. |
onAdd | Gets the title of a new step; leave it out and the field disappears. |
onRemove, onReorder | Removing one, and a move as { from, to }; leave them out for people who may not edit. |
addLabel, className | The add field's label, and your layout. |
Its entry in the manifest
| Manifest field | Checklist |
|---|---|
| What it is | The small steps inside a record, ticked, reordered and added in one go. |
| Use it for | Sub-tasks of a task, the loading steps of a delivery, a closing routine. |
| Not for | For a list of records (DataTable) |
| It replaces | A list of checkboxes with hand-made adding and reordering |
| Screen types | Record; Index |
| Import | import { Checklist } from "@meadowstack-studio/kit"; |
Where the example apps use it
| Example app | Modules that render it |
|---|---|
| An app for a studio or agency | Tasks |
| An app for restaurants and venues | Handbook |
| An app for one person | Content, Training |
How the demo calls it
<Checklist
label={tx("Podúkoly", "Sub-tasks")}
addLabel={tx("Přidat podúkol", "Add sub-task")}
items={issue.subTasks}
onToggle={(id, done) => saveSubTasks(issue.subTasks.map((task) => (task.id === id ? { ...task, done } : task)))}
onAdd={
editable
? (title) => saveSubTasks([...issue.subTasks, { id: `st-${issue.id}-${Date.now()}`, title, done: false }])
: undefined
}
onRemove={editable ? (id) => saveSubTasks(issue.subTasks.filter((task) => task.id !== id)) : undefined}
onReorder={
editable
? ({ from, to }) => {
const next = issue.subTasks.slice();
const [moved] = next.splice(from, 1);
next.splice(to, 0, moved!);
void saveSubTasks(next);
}
: undefined
}
/>Questions
Can people reorder steps without a mouse?
Yes. A step is picked up with Space, moved with the arrow keys and put down again, and each move is announced to screen readers, the same way cards move on the kit's boards.
How do you add several steps in a row?
Type a step and press Enter: it is added and the field stays open for the next one, so a routine of five steps takes five lines of typing.
Can someone without edit rights tick a step?
That is the app's choice. The demo lets everyone who sees a task tick its sub-tasks and passes adding, removing and reordering only to people who may edit, so the others never see those controls.
When is a checklist the wrong component?
When each item is a record of its own, with a status, an owner and a page. That is a list of records, which is a DataTable.
Related
- RecordPeek: open a record without losing the listComponents
- A dispatch plan that checks driving hours on every dragScreens
- A restaurant rota planned against the takingsScreens
- A roast plan worked out from the ordersScreens
- Court bookings on a timeline you dragScreens
- Composer: writing next to a recordComponents
Two ways
Build it yourself, or have it built
Build it yourself
Build your app on the framework
Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.
One payment, lifetime updates
Get the frameworkHave it built
Have us build your app
Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.
After launch, Care keeps it improving, from €99 a month.
from €1,990
Describe your app