vibran

Scroll highlight text

Also called: scroll-linked text fill

A large paragraph starts dim and gets read word by word as the page scrolls. The current word lights up in blue and the previous ones stay solid.

Preview of Scroll highlight text running live
Copy the promptAdjust colors and speed

When to use it

For a manifesto or intro paragraph right below the hero. Works with 25 to 45 words in large type; longer text gets tiring. With data-auto the reading plays by itself until the visitor scrolls, handy for showcases. Set data-estilo to marca for a highlighter behind the words.

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:

<p data-efeito="texto-pintar-rolagem">Seu parágrafo grande aqui.</p>

More text effects

All 27 text effects →