Table of Contents

**@arolariu/components**


@arolariu/components / DotBackground

Function: DotBackground()

DotBackground(__namedParameters): Element

Defined in: components/ui/dot-background.tsx:56

DotBackground Component A React component that creates an animated or static dot pattern background using SVG. The pattern automatically adjusts to fill its container and can optionally display glowing dots.

Parameters

__namedParameters

DotBackgroundProps

Returns

Element

See

DotBackgroundProps for the props interface.

Example

// Basic usage
<DotBackground />

// With glowing effect and custom spacing
<DotBackground
  width={20}
  height={20}
  glow={true}
  className="opacity-50"
/>