Swarm Cursor
A cloud of particles flocks after the cursor and drifts around it when it stops. Stays inside its box unless fullPage is set.
import { SwarmCursor } from "pleate/effects/swarm-cursor";Swarm
They follow you
Props
- count
Particles.
numberdefault 60- color
Particle color.
stringdefault accent- size
Particle radius (px).
numberdefault 2.5- attraction
Pull towards the cursor.
numberdefault 1- fullPage
Follow the pointer over the whole page.
booleandefault false
Accessibility
- Decorative canvas (aria-hidden).
- Off for touch and reduced motion; the system cursor stays.