Shake Lock

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-shake-lock

About this component

The box rattles in a rapid X-axis jitter sequence as if locking in, then snaps to the checked silver fill. Unchecking plays a shorter reverse shake. Kinetic, mechanical feel.

Triggers

  • Click
  • State change

Techniques

  • Keyframes
  • Transform only

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Hidden native input.

Reduced motion

Animations removed under prefers-reduced-motion.

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

More checkboxes

See all
ShutterGet code
Spark TrailGet code
StampGet code
Tilt HoverGet code