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.

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
- 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:
<h1 data-efeito="texto-espalhar" data-raio="150">Seu título</h1>
More text effects
- Text shimmerBrilho no texto
- Number tickerContador animado
- Physics falling textgravity letters
- Wave textsplit text
- Text scrambleLetras embaralhando
- Line mask reveal on scrollLinhas que sobem com a rolagem
- Scroll velocity marqueekinetic headline ticker
- Highlightermarker