Measured entry
uilayouts-mesh-gradient-background3
background-effectaurora-meshmotion on file
A client-side React background that renders an animated, pointer-reactive shader blob on a full-viewport WebGL canvas. It ships as a shadcn registry component but has no shadcn UI dependency or provider. Its runtime stack is Three.js, React Three Fiber, and Drei, with TypeScript types for Three.js.



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 | flagged at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 275.0 KB (340.4 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
The verified build and bare mount are sound, but this is an expensive choice for decoration alone. Use it when the shader effect is central to the page and budget time to fix the observed viewport overflow, add motion safeguards, and test lower-end devices.
Use it if
- You need a full-screen animated hero backdrop with a fluid organic form.
- Your React app already carries the React Three Fiber stack for other WebGL work.
- Pointer-reactive motion is appropriate for the page and the target devices can sustain continuous rendering.
Skip it if
- You need a lightweight decorative background without a WebGL rendering stack.
- Horizontal overflow is unacceptable without modifying the full-viewport wrapper.
- You need built-in reduced-motion behavior or a static fallback.
- The component must fit inside a card or bounded section without source changes.
Install
| Declared dependencies | three, @types/three, @react-three/fiber, @react-three/drei |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
Install Three.js, its TypeScript types, React Three Fiber, and Drei. Copy the component into a client-rendered React module, preserve the client directive where applicable, and provide Tailwind utilities or equivalent CSS for the full-viewport wrapper. No shadcn provider or import alias 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.
Author repository
github.com/ui-layouts/uilayoutsAlternatives
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