Confetti
A celebratory particle burst.
Custom colors
Directions
Fullscreen
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | 80 | Number of particles emitted per burst. |
spread | number | 70 | Horizontal spread factor of the burst. |
direction | ConfettiDirection | 'down' | Direction the particles fly out from the origin. |
fullscreen | boolean | false | Rain confetti across the whole viewport instead of bursting from the trigger. |
colors | readonly string[] | null | null | Particle 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.