Confetti

A celebratory particle burst.

Custom colors

Directions

Fullscreen

API reference

Inputs

PropTypeDefaultDescription
countnumber80Number of particles emitted per burst.
spreadnumber70Horizontal spread factor of the burst.
directionConfettiDirection'down'Direction the particles fly out from the origin.
fullscreenbooleanfalseRain confetti across the whole viewport instead of bursting from the trigger.
colorsreadonly string[] | nullnullParticle colours; defaults to the built-in palette.

Types

ConfettiDirection โ€” Burst direction of the confetti particles.

"down" | "left" | "radial" | "right" | "up"

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.