v0.1 public beta early access on GitHub
Home / Components / confetti

ConfettiAndroid

Celebration particle field — triggerable burst or continuous rain, chart palette, reduced-motion aware.

$ npx lumioui add confetti
import { Confetti } from "@/components/ui/confetti/confetti";
Props5
count? number Particle count. Default 36.
colors? string[] Particle colors. Defaults to the theme's chart-1..5 palette.
mode? "burst" | "rain" "burst" fires on demand; "rain" falls continuously while mounted.
fire? boolean Declarative trigger — fires a burst on the false→true transition.
className? string
Confetti — Burstburst.tsx
confetti/variants/burst.tsx open

Celebration particle field — triggerable burst or continuous rain, chart palette, reduced-motion aware.

Confetti — Rainrain.tsx
confetti/variants/rain.tsx open

Celebration particle field — triggerable burst or continuous rain, chart palette, reduced-motion aware.