vibran

Spotlight

Also called: flashlight reveal

A flashlight reveal. The section goes dark and a round light follows the mouse to show what's underneath. With no mouse, the light wanders on its own.

Preview of Spotlight running live
Copy the promptAdjust colors and speed

When to use it

Good for revealing something gradually: behind the scenes of a project, a photo of a venue, a launch with some suspense. It hides content, so don't use it on sections people need to read quickly, like prices or contact info. Raise data-raio to show more at once, and set data-passeio="nao" if the wandering light on phones distracts.

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:

<section data-efeito="holofote">...</section>

Sites that use this effect

More screen effects

All 7 screen effects →