Magnet Lines

A grid of little lines all point toward the cursor — a hypnotic interactive field for a hero/background. One field per view; it's attention-grabbing. Frozen under prefers-reduced-motion.

xpert-ai Updated 10 repo stars

File contents

magnet-lines

Magnet Lines Dependency-free, reduced-motion safe.

How to apply

Copy css+js; <div class="mag-lines" data-rows="9" data-cols="9"></div>.

xpert-ai/xpert-plugins commit 7a3f7e84e9

Frequently asked questions

npx get-skill add xpert-ai/magnet-lines