vibran

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.

Preview of Ribbon trail running live
Copy the promptAdjust colors and speed

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

  1. 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.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. 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

All 14 mouse effects →