Checklist
Interactive checklist component for displaying tasks with completion states and a progress bar.
Import
import { Checklist } from '@scaffald/ui';
Basic Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Header title |
subtitle | string | — | Header subtitle |
items | ChecklistItem[] | — | Array of checklist items |
completionPercentage | number | — | Progress percentage (0–100) |
onItemPress | (item) => void | — | Called when item is pressed |
isLoading | boolean | false | Show skeleton loading state |
showProgress | boolean | true | Show progress bar |
ChecklistItem
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
title | string | Item title |
description | string | Item description |
complete | boolean | Whether completed |
Loading State
Related Components
Changelog
See GitHub Releases for version history.