React checkbox animations

4 examples. Checkbox animations built with React and Framer Motion. Checkboxes and to-do items that draw their check, strike through text and celebrate completion.

React checkbox animations: common questions

How do I build checkbox animations in React?
Pick an example below, copy its prompt (or send it to Claude Code, Cursor or Codex) and your agent builds it in React. Each prompt lists the layout, timing and easing, and links a keyframe sheet of the motion. Framer Motion (now motion/react) covers most UI work: layout animations, AnimatePresence for enter and exit, gestures and springs. Use GSAP for long timelines and scroll choreography, and three.js or react-three-fiber for 3D.
How do I animate a checkbox check mark?
Draw the check with an SVG path (stroke-dashoffset or trim) over about 200 ms, after a quick squash of the box.
Is it OK to move completed tasks?
Yes, but animate the move with a layout transition so users can follow where the item went.

Checkbox animations in other frameworks

More React animations