Todo List 2 - Filters All, Active and Done

A borderless todo list with a segmented filter bar for All, Active and Done, live counts in each tab and round check buttons. Use it when users need to slice a single list by completion state without leaving the page.

About Todo List 2

A borderless todo list with a segmented filter bar for All, Active and Done, live counts in each tab and round check buttons. Use it when users need to slice a single list by completion state without leaving the page.

Todo List 2 is a free todo list block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 140 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • todo
  • filter
  • tabs
  • segmented
  • tasks
  • checklist

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/todo-list-02

Dependencies installed automatically: lucide-react, motion.

Uses: input, motion-presets, reveal, use-reduced-motion, utils.

Usage

import TodoList02 from "@/components/blocks/todo-list-02"

export default function Page() {
  return <TodoList02 />
}

FAQ