All components
magnetic-action

Magnetic action

Lets a primary action lean toward a nearby pointer and settle cleanly on release.

  • Keyboard ready
  • Reduced motion
  • TypeScript
Scene
product · mono
Runtime cost
Light
Motion engine
gsap
Installnpx shadcn@latest add https://motion-lexicon.pages.dev/r/magnetic-action.json