
Butterfly Trail Cursor
Cursor
A digital cursor trail effect where pixel particles bloom from the pointer path for technical launches and proof-of-craft hero sections.
Pixel Bloom Cursor turns pointer movement into atmosphere: pixels bloom from the pointer path.
It fits creative homepages, portfolios, campaigns, and brand-led experiments where the pointer becomes part of the identity, and not dashboards, checkout, forms, or dense product screens.
The main risk is keeping the pointer optional. The effect must turn off cleanly on coarse pointers, leave focus outlines intact, and never sit between the user and a click. A page that breaks when the cursor layer is removed has leaned on it too hard.
import PixelBloom from "@/components/effects/pixel-bloom"; const page = () => { return ( <><div> <PixelBloom className='size-[30vw]' type='video' src='https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4' /></div><div><PixelBloom className='size-[30vw]' type='image' src='https://picsum.photos/800/800' /></div> </> )} export default pageA consumer electronics brand can use Pixel Bloom Cursor over the hero video on a product launch page. As the pointer moves across the video, grid cells along its path bloom into small square image tiles, then clear again shortly after, leaving a crisp digital trace.
The outcome is energy. The launch feels technical from the first movement, and the video, headline, and preorder link stay fully visible once the pointer rests.
Not for dashboards, checkout, forms, dense product UIs, or any flow where precision beats atmosphere.
Use one cursor layer, throttle movement with requestAnimationFrame, avoid full-screen filter effects, and disable Pixel Bloom Cursor on coarse pointers.
Turn the effect off on touch and keep native gestures intact, and give any cursor-only reveal a visible or tappable alternative.
| Prop | Type | Default | Description |
|---|---|---|---|
gridSize | number | 35 | Pixel grid cell size. |
effectRadius | number | 40 | Radius of the cursor bloom. |
maxTrailLength | number | 8 | Maximum number of active trail points. |
cellLifetime | number | 100 | How long each pixel cell remains active. |
Use it when a launch page or technical brand needs pixels blooming from the pointer path — not on utility flows.
It has no coarse-pointer check of its own and listens only for mouse movement, so on touch screens the media shows with little or no bloom. Disable it on coarse pointers yourself if you want native touch behavior.
Only when the same content is visible or accessible without pointer movement. Cursor-only reveals are not suitable for critical information.
Clicks, focus outlines, hover states, and modal layering must all behave normally with the effect in place.
Pixel Bloom Cursor has no reduced-motion mode: cells keep blooming along the pointer path, because the motion is the effect. Leave it unmounted if reduced motion should mean no bloom.
Need a custom effect? Tell us what to create.