Magnetic Button
A button that magnetically pulls toward the cursor with a spring release.
Usage: paste this file into your project (e.g.
components/magnetic-button.tsx), make sure framer-motion, clsx and tailwind-merge are installed, and add the cn() helper from the docs.