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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of magicui-warp-background at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-warp-background at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-warp-background 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 magicui-warp-background
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal67.4 KB (132.8 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 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

Installation record for magicui-warp-background
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, 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.

License
MIT
Record published
2026-08-14

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.