Check Pop

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-check-pop

About this component

A checkbox where the SVG checkmark springs into view with a scale overshoot (cubic-bezier spring) on check and collapses instantly on uncheck. No keyframes needed: pure CSS transition on the SVG transform.

Triggers

  • Click
  • State change

Techniques

  • Transform only

Difficulty

Beginner

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Keyboard and screen readers

Hidden native input.

Reduced motion

Spring transition can be disabled globally via prefers-reduced-motion.

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

More checkboxes

See all
ConfettiGet code
Crystal BreakGet code
CurtainGet code