Spotlight text
Also called: cursor flashlight text
The headline stays dim and only lights up where the beam is: a colored spotlight that follows the cursor and wanders on its own when nobody moves.

When to use it
For event covers, cinema, nightlife, studios and any headline that should feel discovered in the dark. The dim base has low contrast on purpose: use it only on large headings, never on body text. Match --holofote-cor to the brand color and set data-raio to about 1.5 times the letter height.
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-holofote" data-raio="200">Seu título</h1>
More text effects
- Text shimmerBrilho no texto
- Number tickerContador animado
- Physics falling textgravity letters
- Wave textsplit text
- Text scrambleLetras embaralhando
- Scatter textrepel letters
- Line mask reveal on scrollLinhas que sobem com a rolagem
- Scroll velocity marqueekinetic headline ticker