Focus mode
Also called: spotlight dim
Click a marked item and the screen dims so only that item stays lit, inside a rounded window that slides from one item to the next, with a short caption beside it. Click outside or press Esc to turn the dimming off. It can also tour the items on its own.

When to use it
A first-run hint in dashboards and apps, a product tour, help inside a long form, or a highlight on a field with an error. Write the caption as one short sentence saying what to do there. It works by keyboard: Tab reaches the items, Enter lights one and Esc clears it. With data-auto it shows the items by itself until someone clicks.
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:
<div data-efeito="modo-foco" data-auto="3500">
<button data-foco data-nota="Aqui você escolhe o período">Período</button>
<div data-foco data-nota="Os pedidos novos chegam aqui">...</div>
</div>
More screen effects
- Curtain revealwipe transition
- Custom cursorcursor follower
- Confetti burstExplosão de confete
- Film grainnoise overlay
- Spotlightflashlight reveal
- Diagonal page transitionTransição diagonal com título