attractCursors and hovers with pull.
Browse effects
CURSOR AND HOVER LIBRARY

Cursors and hovers
with pull.

Spring-driven cursors and hover effects for the buttons you already have. Add one attribute, tune it in the inspector, export plain HTML, CSS and JS.

Install
One attribute
Runtime
Vanilla JS
Dependencies
None
PULL RADIUS
120 PX
Open the index
Move across the field. The cursor finds the buttons.Tap a button. Same feedback, made for touch.
ONE ATTRIBUTE · YOUR BUTTONS · SPRING PHYSICSButton Factory demo Checkout is a simulation.
THE INDEX

Every effect, on the bench.

Press any stage to play it.
Tune to adjust and export.

ASK YOUR AGENT

“add a cursor that snaps
around my buttons”

zm_call("cursor-kit", "get", { id: "snap-ring" })

What is Attract?

Attract (formerly Cursor & Hover Kit) is a free, MIT-licensed kit by ZirkoMirko with 53 cursor and hover effects. The snap-ring reads each button's size and border radius and wraps it with a 7 px gap. Every effect exports as standalone HTML, CSS and JS with no dependencies; cursors switch off on touch screens and calm down under reduced motion.

How it works

  1. Open the lab, hover the tiles and open the one you want, for example the snap-ring cursor.
  2. Copy the HTML, CSS and JS parts, or ask your agent: add a cursor that snaps around my buttons.
  3. Paste the three parts and put the data attribute on a section or button. No build step and no library.

FAQ

Is the Cursor & Hover Kit free?
Yes. It is free and MIT licensed.
Does it work on phones?
Cursor effects turn off on touch screens and the native cursor stays. Hovers fall back to a press cue.
Does it need React or another library?
No. Each exported effect is plain HTML, CSS and JavaScript with no dependencies.
What about keyboard and reduced motion users?
The snap-ring also shows on keyboard focus. With reduced motion there are no trails or magnetic movement and the ring becomes a plain outline.

See Attract in action

HOVER

Magnetic

Button previews are simulations.

Standalone vanilla. No dependencies. Paste all three parts.