Measured entry

ruixen-rotating-gradient-right

background-effectgradient-glowmotion on file

A client-side React marketing section with a rotating conic-gradient glow around a hardcoded progress card beside promotional copy and buttons. It ships as a shadcn registry item with a spin keyframe, uses Tailwind utility classes, imports local shadcn Card and Button primitives, and relies on lucide-react plus the Radix stack used by those primitives.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-rotating-gradient-right at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-rotating-gradient-right at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-rotating-gradient-right 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 ruixen-rotating-gradient-right
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.5 KB (95.9 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 37.47s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/card.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A credible drop-in for a shadcn and Tailwind marketing demo, with responsive behavior and no observed accessibility flags. It is not portable as-is: the bare mount fails because it needs a shadcn-style setup, and teams should wire the actions and reduced-motion behavior before production.

Use it if

  • You need a ready-made hero or product-demo section that pairs an animated glow card with supporting copy and calls to action.
  • Your app already uses Tailwind, shadcn Card and Button primitives, and the usual source alias.
  • You are comfortable replacing the bundled copy and wiring the visual buttons to real behavior.

Skip it if

  • You need a reusable background effect that can sit behind arbitrary children, since this component owns the entire section and its content.
  • Your motion policy requires reduced-motion handling without source changes, since the gradient spins continuously.
  • You want a dependency-light CSS effect for a non-Tailwind codebase.
  • You need production-ready actions out of the box, since the bundled buttons have no handlers.

Install

Installation record for ruixen-rotating-gradient-right
Declared dependencieslucide-react, radix-ui
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Tailwind and the source alias, provide compatible Card, CardContent, and Button components with their shared class-name utility, install lucide-react and the Radix dependencies those primitives use, and copy the registry spin keyframe into the global styles. Keep the file client-rendered where the framework distinguishes client components.

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.