Skip to main content

Variable: GradientBackground

@arolariu/components


@arolariu/components / GradientBackground

Variable: GradientBackground

const GradientBackground: ForwardRefExoticComponent<Omit<GradientBackgroundProps, "ref"> & RefAttributes<HTMLDivElement>>

Defined in: components/ui/gradient-background.tsx:31

Renders a continuously shifting multicolor gradient background.

Remarks

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

Example

<GradientBackground />

See

GradientBackgroundProps for available props

// was this page useful?