Mouse particle trail
Also called: sparkle emitter
Stars, dots and confetti spray from the mouse, inherit the speed of the movement, fall gently, spin and fade. The faster the mouse, the more particles. On mobile, a tap releases a small burst.

When to use it
For party, event, launch, invitation, kids store pages or a friendly 404, where a playful touch fits the brand. Use data-mistura="soma" on dark backgrounds (colors add up and glow) and "normal" on light ones. Pick a few brand colors in data-cores. Do not put it over long reading areas. With no mouse there is no trail; on mobile a tap releases a burst. Visitors who prefer reduced motion do not see the effect.
How to add it to your site
- Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- Done: the AI adds the effect to your project, just like you saw it here.
Use it in HTML
The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:
<section data-efeito="particulas-mouse" data-formas="estrela, ponto, confete" data-cores="#ffd23f, #ff7a45, #7be0ff" style="height:480px">
<h2>Arraiá da Rua 7</h2>
</section>
More mouse effects
- Needle fieldcompass field
- Label cursorcontext cursor
- Gooey elastic cursormagnetic cursor
- Difference blend cursorinvert cursor
- Click sparkFaísca no clique
- Ribbon trailcursor ribbon
- Chromatic aberration image hover, RGB split on mouse moveImagem com aberração de cor
- Venetian blind image hover, slat image effectImagem persiana