Checklist

Compare Checklist for React and React Native in VLLNT UI 0.4.0. Explore source, dependencies and native capabilities. Native is source-only; npm publication is pending.

Supported platforms:WebNative
Report a bug

What it is and when to use

Checklist is an interactive task list that tracks completion. Each item toggles between checked and unchecked, striking through completed labels and updating a progress bar with a count and percentage. Pass a persistKey to save progress to localStorage across visits, and an onComplete callback fires once every item is checked. Optional titles and per-item descriptions make it suited to onboarding flows, setup guides, and tutorial step tracking.

Learning

Preview

Switch between light and dark to inspect the embedded Storybook preview.

Interactive checklist with progress tracking and toggleable items. Part of the learning family in VLLNT UI, it ships as a machine-readable registry entry — copy the source directly into your app with the shadcn CLI and own it, no runtime dependency on a component library.

Platform comparison

PlatformDependenciesCapabilities
Web@vllnt/ui@^0.3.0Browser rendering, DOM events, and ARIA semantics
Native@vllnt/ui-native, react-nativeNative-adapted interaction and accessibility

Installation

Add Checklist to your project with the shadcn CLI. The source lands in your codebase, ready to adapt:

pnpm dlx shadcn@latest add https://ui.vllnt.com/r/checklist.json

Source

Stories

Explore every variant and state in the interactive Storybook:

FAQ

What is Checklist?
Checklist is a React component from VLLNT UI that renders a list of toggleable items with live progress tracking. It shows a completion bar, a checked count and percentage, and a message once all items are done.
How do I add Checklist?
Run `pnpm dlx shadcn@latest add https://ui.vllnt.com/r/checklist.json` to install Checklist via the shadcn CLI. The component source is copied into your project so you can adapt items, titles, and styling.
Does Checklist remember progress?
Yes. Provide a persistKey and the checked items are saved to localStorage under that key, so progress is restored on the next visit. Toggling also dispatches a progress-change event other components can listen for.