Magnetic Buttons & Custom Cursor

A custom cursor that trails behind the mouse on a spring and changes shape over links and cards, while buttons lean towards the pointer as if magnetised.

Designer notes

Design the cursor's states: default (small ring + dot), over a link (bigger ring), over a card (filled circle with a label such as 'View' or 'Play'). Specify how strong the magnet is (we use 30–40% of the distance) and how bouncy the return is. Keep magnetic effects for a handful of primary actions; if everything pulls, nothing stands out. Never hide the cursor without a clear replacement.

Tags
Cost
Effort: LowPerf: Light
Libraries
Motion 11
Browser support
All modern browsers. Only on devices with a mouse or trackpad: touch screens and reduced motion get the normal cursor and static buttons.
Added
2026-12-02 · jc