Measured entry

cultui-bg-animated-gradient

background-effectaurora-meshmotion on file

A client-side React background layer that animates between radial-gradient definitions. It ships as a shadcn registry TypeScript component, renders an absolutely positioned Motion div, and depends on the motion package plus utility classes for sizing and placement.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of cultui-bg-animated-gradient at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of cultui-bg-animated-gradient at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of cultui-bg-animated-gradient at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for cultui-bg-animated-gradient
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal58.6 KB (124.0 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, working decorative background with a small API and no provider requirement. It is a sensible fit when Motion is already present, but the missing reduced-motion handling and narrow-screen demo overflow deserve fixes before production use.

Use it if

  • You need a configurable ambient gradient behind hero or feature content.
  • Your React app already uses Motion and can supply gradient stops and animation timing.
  • You can place it inside a positioned, clipped container with foreground content layered above it.

Skip it if

  • You need reduced-motion behavior without modifying the component.
  • You want a CSS-only background and do not want to add Motion for a decorative effect.
  • Your layout cannot guarantee a positioned parent with explicit dimensions and clipping.
  • You need the supplied fixed-width demo to fit narrow screens without responsive changes.

Install

Installation record for cultui-bg-animated-gradient
Declared dependenciesmotion
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Install the motion package, copy the client component, and ensure your build supports the utility classes it uses or replace them with equivalent CSS. Render it inside a relatively positioned container with defined dimensions and hidden overflow, then layer content above it.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the background-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.