Magnet
Elements magnetically ease toward the cursor then settle back with spring physics.
Default
Move the pointer near the button and it follows you. Padding and Strength are wired to the controls underneath.
Customize
Padding100px
Strength2
API Reference
Magnet
Accessibility
Keyboard shortcuts and ARIA behavior.
- The effect follows the mouse only. Focus order and the content inside the slot are untouched.
- Turn it off with the disabled prop for users who prefer reduced motion.