Fireworks Background
A background component that displays a fireworks animation.
Made by imskyleenInstallation
Usage
Examples
Fireworks Circle
API Reference
FireworksBackground
Prop | Type | Default |
---|---|---|
population? | number | 1 |
color? | string | string[] | - |
fireworkSpeed? | number | { min: number; max: number } | { min: 4, max: 8 } |
fireworkSize? | number | { min: number; max: number } | { min: 2, max: 5 } |
particleSpeed? | number | { min: number; max: number } | { min: 2, max: 7 } |
particleSize? | number | { min: number; max: number } | { min: 1, max: 5 } |
canvasProps? | React.ComponentProps<"canvas"> | - |
...props? | React.ComponentProps<"div"> | - |
Credits
- Credits to Matt Cannon for the inspiration