Magnetic Button Hover Effect
Buttons that pull toward the mouse cursor when it comes near and spring back on leave, driven by CSS custom properties and a tiny script.
Components tagged with "cursor".
4 components
Buttons that pull toward the mouse cursor when it comes near and spring back on leave, driven by CSS custom properties and a tiny script.
A chain of glowing dots that follows the mouse or finger and fades out behind it, with glow, rainbow and ring styles and an idle animation.
Tailwind CSS project list where hovering a row reveals a photo that follows the cursor with smooth easing and tilt, plus keyboard and touch fallbacks.
Smooth custom cursor with a dot and an eased ring that grows on links, shows a label over cards and inverts the headline, in CSS and vanilla JS.