vibran

Loading to success with confetti

Also called: check burst

A loading-to-success loader. A ring spins while something loads. When it finishes, the circle fills with green in a pop, the check draws itself and confetti bursts out. It also has an error state with an X and a shake.

Preview of Loading to success with confetti running live
Copy the promptAdjust colors and speed

When to use it

To close a flow with a little celebration: payment approved, signup done, order placed, form sent. Call el.concluir() when the server answers and el.falhar() on error, and write the real confirmation in data-pronto (amount, order number). The confetti is subtle and gone in a little over a second. With prefers-reduced-motion it jumps to the final state with no confetti.

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="pronto-confete" data-texto="Processando pagamento" data-pronto="Pagamento aprovado"></div>

More loaders effects

All 27 loaders effects →