Checklist
A readiness list with explicit states. Use it for prerequisites, deployment checks, and release gates.
API
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Optional checklist title. |
items | ChecklistItem[] | — | Rows to render. |
ChecklistItem supports label, description, and state. State can be done, warn, or todo.
Example
Before you build
- OK
Node.js 20.19+ and pnpm 10
Required by folio build and folio serve.
- TODO
docs.yaml exists
Run folio init if it is missing.
- WARN
No stale output committed
Keep .build/ and _site/ out of source control unless your deployment needs them.
<Checklist
title="Before you build"
items={[
{ label: "Node.js 20.19+", state: "done" },
{ label: "docs.yaml exists", state: "todo" },
]}
/>