Ribbon trail
Also called: cursor ribbon
A colorful ribbon that thins out to the tip follows the mouse, swaying like a cloth tied to it. Stop the mouse and the ribbon pulls back in. On a phone it follows your finger and, with nobody touching, draws a loop by itself.

When to use it
The hero of a creative brand, studio, event or portfolio, where a mouse gesture brings the page to life without getting in the way of reading. The ribbon sits over the content but ignores clicks. Use two colors that contrast well with the background, and a thinner ribbon on text-heavy pages.
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="fita-mouse" data-espessura="20" data-comprimento="44" style="--fita-cor:#ff5c8a; --fita-cor2:#ffc857">
<h1>Título da seção</h1>
</section>
More mouse effects
- Needle fieldcompass field
- Label cursorcontext cursor
- Gooey elastic cursormagnetic cursor
- Difference blend cursorinvert cursor
- Click sparkFaísca no clique
- Chromatic aberration image hover, RGB split on mouse moveImagem com aberração de cor
- Venetian blind image hover, slat image effectImagem persiana
- Reveal lensx-ray window