Skip to main content

Variable: DotBackground

@arolariu/components


@arolariu/components / DotBackground

Variable: DotBackground

const DotBackground: ForwardRefExoticComponent<Omit<DotBackgroundProps, "ref"> & RefAttributes<SVGSVGElement>>

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

Renders an animated dot grid with an optional glowing pulse effect.

Remarks

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

Example

<DotBackground glow />

See

DotBackgroundProps for available props

// was this page useful?