Sorting List

Today0 of 4 done
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-sort-list

About this component

A short to-do list that tidies itself. Checking a task slides it down below the open ones while the others glide up into its place, and a progress bar over the list fills and counts; unchecking floats it back up.

Triggers

  • Click
  • State change
  • Spring
  • Fill

Techniques

  • stroke-dashoffset
  • Spring
  • State machine
  • CSS variables

Difficulty

Advanced

Accessibility

Keyboard and screen readers

Native checkboxes named by their task text. Focus stays on the checkbox you toggled after the list reorders. The "x of 4 done" count is aria-live="polite".

Reduced motion

Rows jump to their new place.

Use it in anything you build, commercial and client work included. Licence

More checkboxes

See all
SproutGet code
StitchGet code
Strike TaskGet code
BounceGet code