vibran

Scatter text

Also called: repel letters

Every letter is pushed away from the cursor, spins, and springs back into place. On touch screens your finger does the same and a tap blows the letters apart.

Preview of Scatter text running live
Copy the promptAdjust colors and speed

When to use it

For an opening headline that invites play: portfolio, studio, event. Works best with large type and a short phrase, since the reach radius has to cover several letters. Tune data-raio and data-forca; use data-modo="atrair" to make the letters gather toward the cursor.

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:

<h1 data-efeito="texto-espalhar" data-raio="150">Seu título</h1>

More text effects

All 27 text effects →