Measured entry
magicui-magic-card
cardgradient-glowmotion on file
A client-side React card wrapper that paints a pointer-following gradient border and optional glow behind its children. It ships as a shadcn registry component and uses Motion, next-themes, Tailwind theme classes, and the usual cn utility backed by clsx and tailwind-merge.



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 | 71.9 KB (137.4 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
spawnSync npx ETIMEDOUT
Verdict
A solid decorative card effect with clean composition and both gradient and orb treatments. It builds and mounts in the prepared harness, but the bare check did not mount, so it needs a shadcn-style setup rather than a direct copy into an unprepared React app.
Use it if
- You want a decorative hover spotlight around product, pricing, or feature cards.
- Your app already uses Tailwind theme tokens and a shadcn-style component layout.
- Motion and next-themes are already acceptable runtime dependencies.
Skip it if
- You need the card effect to communicate essential state to keyboard or touch-only users.
- You are minimizing client-side animation code for a mostly static card grid.
- Your design system does not expose the expected background and border theme tokens.
Install
| Declared dependencies | motion, next-themes, clsx, tailwind-merge |
|---|---|
| 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 |
For a non-shadcn project, add Motion and next-themes, provide a theme provider, create the cn helper with clsx and tailwind-merge, configure the source alias, and map the Tailwind background and border tokens used by the 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 card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tailark-veil-content-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-content-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-content-3minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 24.1KB
- Bare
- pass
- Prov
- NO
- neobrutalism-cardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- neobrutalism-ncardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- reui-icon-stackminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.1KB
- Bare
- pass
- Prov
- NO