vibran

Like button with heart burst, heart confetti button

Portuguese name: Botão de curtir com explosão de corações

A like button with a counter. On click the heart fills with a springy pop, a ring opens and hearts and dots fly outward; the number rolls to the next one. Clicking again removes the like.

Preview of Like button with heart burst, heart confetti button running live
Copy the promptAdjust colors and speed

When to use it

Blog posts, recipes, photo galleries, product cards and comments: anywhere liking should feel good. Leave room around the button for the heart burst (it is not clipped, but it must not sit behind another element). Save the vote on the "curtiu" event and use data-curtidas for the total coming from the server; data-chuva changes how many hearts fly out.

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:

<button data-efeito="botao-curtir" data-curtidas="24">Curtir</button>

More buttons effects

All 41 buttons effects →