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.

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
- 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="pronto-confete" data-texto="Processando pagamento" data-pronto="Pagamento aprovado"></div>
More loaders effects
- Hourglass loaderflipping sand timer
- Progress ringcircular percentage loader
- Top loading barYouTube-style progress
- Progress barshimmer progress
- Packing box loaderorder shipping 3D
- Heartbeat line loader, ECG pulse loaderCarregador batimento
- Stacked layers loader, isometric layers loaderCarregador de camadas
- Gooey drop loaderliquid blob spinner