Component packs › Tickbox › Strike-through Todo

Strike-through Todo

A pen line strikes through the finished task, then the row compresses and every task below slides up on a spring.

Strike-through Todo is a todo list from Tickbox, a component pack with 8 checkboxes: Eight checkboxes, each ticked by a different real mechanism. Price: $2 for the whole pack.

Built with: hand-drawn strike, FLIP spring reflow, keyboard list.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Strike-through Todo props

PropTypeDefaultDescription
tasksStrikeTodoTask[]
labelstringAccessible name of the list.
disabledboolean
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
onChange(index: number, done: boolean) => void
autoplaynumber | falseShowcase mode: ticks the next task every N ms while visible.

Methods on the ref

Use it in React

import StrikeTodo from './StrikeTodo';

<StrikeTodo />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Tickbox

Good for: Checkboxes.