vibran

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.

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

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

  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-holofote" data-raio="200">Seu título</h1>

More text effects

All 27 text effects →