vibran

Fan of cards

Also called: card hand / destination cards fan

Cards spread in a fan, like a hand of playing cards. On hover the card lifts and its neighbors make room; click or tap pins the chosen one. When it scrolls into view, the fan opens from a stack.

Preview of Fan of cards running live
Copy the promptAdjust colors and speed

When to use it

Good for destinations, categories, plans or collections, when the visitor picks one among a few (3 to 7). Works best with tall cards and strong art. Give the container a height (the fan works out the rest) and use --leque-raio to open or close the curve. Listen to the "escolher" event to know which one was picked.

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 data-efeito="cartoes-leque" style="height:420px"><div>Cartão 1</div><div>Cartão 2</div><div>Cartão 3</div><div>Cartão 4</div><div>Cartão 5</div></div>

More cards effects

All 27 cards effects →