Measured entry

tripled-gradient-animation-shadcnui

background-effectgradient-glowmotion on file

A client-side React decorative card that cycles through hard-coded linear gradients inside a fixed, rounded rectangle. It ships as a shadcn registry UI file, uses Tailwind utility classes for layout and shape, and relies on Framer Motion for the repeating background transition.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-gradient-animation-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of tripled-gradient-animation-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-gradient-animation-shadcnui 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 tripled-gradient-animation-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal58.1 KB (123.5 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

Use it as a small decorative accent, not a production-ready page background. It mounts without shadcn scaffolding and has clean automated accessibility results, but its narrow-screen overflow, fixed sizing, perpetual motion, and sizable dependency cost warrant adaptation.

Use it if

  • You need a compact animated gradient accent inside a hero, empty state, or promotional section.
  • Your app already uses Framer Motion and Tailwind, so this component adds little integration work.
  • You are prepared to adapt the fixed dimensions and motion behavior to your design system.

Skip it if

  • You need a full-bleed background effect rather than a fixed decorative card.
  • Your mobile layout cannot tolerate horizontal overflow without additional styling.
  • You want to avoid adding Framer Motion for a purely decorative effect.
  • You require built-in reduced-motion handling or user controls for perpetual animation.

Install

Installation record for tripled-gradient-animation-shadcnui
Declared dependenciesframer-motion, react
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn app, copy the component into your source tree, ensure React client components are supported, install Framer Motion, and provide Tailwind CSS with the utility classes used by the file. No context provider is required.

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.