Skip to main content

Interface: FireworksBackgroundProps

@arolariu/components


@arolariu/components / FireworksBackgroundProps

Interface: FireworksBackgroundProps

Defined in: components/ui/fireworks-background.tsx:196

Props accepted by FireworksBackground.

Extends

  • Omit<React.HTMLAttributes<HTMLDivElement>, "color">

Properties

canvasProps?

optional canvasProps?: HTMLAttributes<HTMLCanvasElement>

Defined in: components/ui/fireworks-background.tsx:198

HTML attributes forwarded to the internal <canvas> element.

Default

undefined

population?

optional population?: number

Defined in: components/ui/fireworks-background.tsx:200

Relative launch frequency multiplier for automatic fireworks.

Default

1

color?

optional color?: string | readonly string[]

Defined in: components/ui/fireworks-background.tsx:202

Fixed color or palette used for generated fireworks and particles.

Default

undefined

fireworkSpeed?

optional fireworkSpeed?: number | { min: number; max: number; }

Defined in: components/ui/fireworks-background.tsx:204

Launch velocity or range used for ascending fireworks.

Default

{min: 4, max: 8}

fireworkSize?

optional fireworkSize?: number | { min: number; max: number; }

Defined in: components/ui/fireworks-background.tsx:206

Stroke width or range used for the ascending firework trail.

Default

{min: 2, max: 5}

particleSpeed?

optional particleSpeed?: number | { min: number; max: number; }

Defined in: components/ui/fireworks-background.tsx:208

Velocity or range used for explosion particles.

Default

{min: 2, max: 7}

particleSize?

optional particleSize?: number | { min: number; max: number; }

Defined in: components/ui/fireworks-background.tsx:210

Size or range used for explosion particles.

Default

{min: 1, max: 5}
// was this page useful?