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.

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
- 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:
<section data-efeito="holofote">...</section>
Sites that use this effect
- Brasa & MelRestaurant
- Lenha & SalRestaurant
More screen effects
- Curtain revealwipe transition
- Custom cursorcursor follower
- Confetti burstExplosão de confete
- Film grainnoise overlay
- Focus modespotlight dim
- Diagonal page transitionTransição diagonal com título