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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 66.5 KB (131.9 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no 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.
Author repository
github.com/ruixenui/ruixen.comAlternatives
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.
- ruixen-loading-circlegradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- eldora-hacker-backgrounddark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- ruixen-ripple-circlesgradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- ruixen-dual-tone-rain-backgroundunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 18.4KB
- Bare
- pass
- Prov
- NO
- cultui-lightboardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 19.6KB
- Bare
- pass
- Prov
- NO
- ruixen-mouse-sparkunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 20.6KB
- Bare
- pass
- Prov
- NO