Tracing beam, scroll progress
Portuguese name: Linha que acompanha a rolagem
A tracing beam. A glowing line beside the text draws itself as you scroll down the page, with a point of light at its tip.

When to use it
For long content read top to bottom: blog articles, a company timeline, a step-by-step treatment plan. On short pages the line barely shows. Set data-lado="direita" if the text sits on the right, and tune --linha-recuo so the line doesn't touch the text on phones.
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:
<article data-efeito="linha-rolagem">...seu conteúdo...</article>
Sites that use this effect
- Teixeira & ValadaresLaw firm
- ÂncoraFintech
- Casa BlocoArchitecture
- Encontro ValeCourse and event
More scroll effects
- Marquee, logo loopFaixa infinita
- Parallax scrollParallax na rolagem
- Sticky scroll revealSeção grudada
- Text reveal on scrollTexto que acende na rolagem