Measured entry

ruixen-rising-glow

background-effectgradient-glowmotion on file

A client-side React background effect shipped as a shadcn registry component. It creates randomized glowing particles that rise and fade inside a clipped container. It depends on Motion for animation, utility classes for positioning and shape, and the customary cn helper imported through the project alias.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-rising-glow at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-rising-glow at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-rising-glow 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-rising-glow
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal66.5 KB (131.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 27.92s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/rising-glow.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused decorative flourish that builds, mounts, and stays contained once its expected project conventions are present. It needs a shadcn-style setup out of the box because the bare install cannot resolve the aliased cn helper. Adopt it when Motion is already justified, and add your own reduced-motion policy.

Use it if

  • You need a restrained particle accent beneath a heading, logo, or hero message.
  • Your app already uses Motion and shadcn-style aliases and utilities.
  • You want simple controls for container dimensions, particle density, and color.

Skip it if

  • You need built-in reduced-motion behavior or a static accessibility fallback.
  • You want a dependency-light decorative effect and do not otherwise use Motion.
  • You need percentage or other nonnumeric height values, since the travel calculation negates the height value directly.
  • You need deterministic particle placement for visual snapshots or synchronized layouts.

Install

Installation record for ruixen-rising-glow
Declared dependenciesmotion
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, install Motion, add a cn class-merging helper, configure the at-sign source alias, and provide utility classes equivalent to relative positioning, clipped overflow, absolute positioning, bottom alignment, and a fully rounded shape. Keep it in a client-rendered boundary.

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.