Skip to content

    Browse components

    Checklist Cell

    A checklist card whose ticks draw in, labels strike through, finished items glide to the bottom and a progress ring fills toward a celebratory check.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/checklist-cell

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/checklist-cell.json

    Usage

    import { ChecklistCell } from "@/components/ui/checklist-cell";
    
    <ChecklistCell
      title="Onboarding"
      defaultItems={[
        { id: "profile", label: "Complete your profile", done: true },
        { id: "invite", label: "Invite a teammate", tag: "2 min" },
      ]}
      onChange={(items) => save(items)}
    />

    Props

    PropTypeDefaultDescription
    titlestring"Launch checklist"Card heading.
    allowAddbooleantrueShow the Add a task field.
    sinkCompletedbooleantrueMove completed items to the bottom.
    defaultItemsReactNode—`{ id, label, done?, tag? }[]`. Ships with six launch tasks.
    onChangeReactNode—`(items) => void`, called after every change.
    classNamestring—Extra classes for the root element.