Measured entry
magicui-warp-background
background-effectaurora-meshmotion on file
A client-side React frame that turns its edges into a perspective grid with randomly colored beams moving toward the viewer. It ships as a shadcn registry TSX file and relies on Motion, Tailwind utility classes, and the shared cn class-merging helper.



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 | 67.4 KB (132.8 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 32.83s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/warp-background.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A convincing, configurable portal-frame effect for focused promotional surfaces, but it is not drop-in outside its intended ecosystem. The bare mount fails because it needs a shadcn-style setup, including the expected utility alias and Tailwind processing.
Use it if
- You need an animated sci-fi frame around hero copy, a signup panel, or a featured card.
- Your React app already uses the shadcn import convention and compatible Tailwind utilities.
- You want to tune beam density, timing, grid color, and perspective through component props.
Skip it if
- Your product calls for a restrained or static background with minimal visual motion.
- You cannot justify adding Motion and a client-rendered effect for a decorative frame.
- Your styling stack cannot process the container-query, perspective, and custom-property Tailwind classes used by the source.
- You need beam colors and animation offsets to be deterministic across renders.
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, provide a cn class-merging helper, map the source utility alias to it or change the import, and configure Tailwind to recognize the component file and support the utility syntax it uses. Keep the file as a client component.
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/magicuidesign/magicuiAlternatives
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