vibran

Spotlight card

Portuguese name: Cartão com brilho

A spotlight card effect. A light follows the mouse inside the cards and lights up the nearest border, moving from one card to the next.

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

When to use it

Looks good on a grid of cards on a dark background: SaaS features, agency services, plans. The light follows the mouse, so on phones the cards look plain and the content has to hold up without it. Raise --luz-tamanho for large cards and keep --luz-fundo faint so it doesn't wash out the text.

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:

<div class="cartao" data-efeito="cartao-brilho">...</div>

Sites that use this effect

More cards effects

All 27 cards effects →