Skip to content
Card with checklist, light
Light
Card with checklist, dark
Dark

Every state

  • Card with checklist, default, light
    Card with checklist, default, dark

    default

  • Card with checklist, hover, light
    Card with checklist, hover, dark

    hover

  • Card with checklist, focus, light
    Card with checklist, focus, dark

    focus

  • Card with checklist, expanded, light
    Card with checklist, expanded, dark

    expanded

  • Card with checklist, complete, light
    Card with checklist, complete, dark

    complete

Props

PropTypeDefaultWhat it does
idstring"task-t5"Id of the card; the parts hang off it.
titlestring"Set up the pre-order discount"Title text.
hrefstring"#t5"Where the card opens.
label{ name: string; tint: 1 | 2 | 3 | 4 | 5 } | null{ name: "Shop", tint: 2 }A label above the title, on a `--chart-*` tint (1–5). Null: none.
assignee{ name: string; photo?: KanbanCardChecklistPhoto | null } | null{ name: "Aisha Rahman", photo: { src: "/components/kanban-card/kanban-card-checklist/aisha.webp" } }Who owns the checklist. Null: no face.
subtasksKanbanCardChecklistSubtask[][ { id: "s1", title: "Create the WINTER10 code", done: true }, { id: "s2", title: "Limit it to the winter glaze range…Subtasks.
defaultOpenbooleanfalseThe list starts open.
onToggle(id: string, done: boolean) => void–Called with a subtask's id and its new state when it is ticked or unticked.
words{ progress: (done: number, total: number) => string complete: (total: number) => string subtasks: string assignedTo: string }{ progress: (d, t) => `${d} of ${t}`, complete: (t) => `All ${t} done`, subtasks: "subtasks", assignedTo: "Assigned t…Words.
classNamestring–Extra classes on the outer element.

More kanban cards

All 5
kanban-card-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans