Draw Check

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

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

About this component

A checkbox where the SVG checkmark stroke draws itself on via stroke-dashoffset when checked, combined with a brief scale pop on the box. The path writes itself left-to-right rather than snapping in.

Triggers

  • Click
  • State change

Techniques

  • Transform only

Difficulty

Beginner

Moves on

Its code uses these curves. Open one to see it plotted and tune it.

Accessibility

Reduced motion

Hidden native input, role="checkbox" and aria-checked on visible element. stroke-dashoffset transition skipped under prefers-reduced-motion.

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

More checkboxes

See all
Fire FillGet code
FlipGet code
Ghost ThroughGet code
GlitchGet code