Skip to main content

Variable: FireworksBackground

@arolariu/components


@arolariu/components / FireworksBackground

Variable: FireworksBackground

const FireworksBackground: ForwardRefExoticComponent<FireworksBackgroundProps & RefAttributes<HTMLDivElement>>

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

Renders an auto-launching fireworks display inside a clickable background canvas.

Remarks

  • Animated component using the motion library
  • Renders a <div> element containing a <canvas>
  • Styling via CSS Modules with --ac-* custom properties
  • Client-side only ("use client" directive)

Example

<FireworksBackground population={2} />

See

FireworksBackgroundProps for available props

// was this page useful?