Confetti

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Confetti is a celebration for a success message, a launch or a sign-up done: the words pop, and a burst of paper bits flies up and out from behind them in a fan, tumbles over and flutters down past the line. Between bursts the confetti hangs in the air as it is in the picture, so the resting frame is a celebration too.

The pieces are small spans laid out once with a spread that looks random but is the same every time; each flies on two moves at once (out sideways, up then down) so the arc is real, and spins as it goes. Only transform and opacity move. They sit behind the words and are hidden from screen readers.

Amount sets how many pieces there are and spread how far they fly. Play it once in view for a moment that only happens once.

Formats
React, HTML
No dependencies
Built with
CSS and a little JS
Default font Outfit
Plays
Loop, In view, On load, Hover
Reduced motion
Respected
Shows the finished frame

Accessibility. One heading named by its words; the confetti is decoration, hidden from screen readers. Under reduced motion the confetti hangs still in the air.

Also known as confetti text animation, celebration text, confetti burst css, party text effect, success message animation, text pop animation.

Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.

More particles