Measured entry
ruixen-dual-tone-rain-background
A full-viewport React background that builds teal rain from layered CSS gradients, then adds a blurred radial grid overlay. It ships as a shadcn registry component but is self-contained: it uses Tailwind utility classes and an inline keyframe animation, with no extra package or provider dependency.



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 | 18.4 KB (83.8 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A dependable drop-in for a very specific dark rain aesthetic. It builds and mounts cleanly without framework scaffolding, but its fixed presentation and missing reduced-motion treatment make it better as a starting point than a finished design-system primitive.
Use it if
- You want a dark, stylized rain backdrop for a hero, splash screen, or ambient landing page.
- Your React project already uses Tailwind and can accept a component that owns the full viewport height.
- You prefer a CSS-only effect with no canvas, image asset, or runtime animation library.
Skip it if
- You need built-in controls for color, density, speed, or animation state instead of editing the component source.
- You need reduced-motion behavior out of the box; the embedded animation does not provide it.
- You need a subtle inline section background rather than a dark effect sized to the viewport.
- Your styling stack does not support the Tailwind arbitrary utilities used by the overlay.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn React project, copy the component file and ensure Tailwind processes its utility classes, including arbitrary backdrop and background values. No additional package or context provider is required. Add your own reduced-motion rule if the effect remains animated.
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
- 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
- cultui-edge-blurglassmorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 20.8KB
- Bare
- pass
- Prov
- NO