Measured entry
magicui-neon-gradient-card
cardgradient-glowmotion on file
A client-side React wrapper that gives arbitrary card content an animated two-color border and blurred glow. It ships as shadcn registry source, uses Tailwind utility classes and theme CSS for its animation, and imports the usual cn helper through the @ alias. It has no extra package dependency beyond the host React styling setup.



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 | 27.2 KB (92.6 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 33.43s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/neon-gradient-card.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused effect that builds, mounts, stays within its viewports, and exposes useful color controls in the prepared harness. It needs a shadcn-style setup: the bare project cannot resolve its cn utility import, so this is source to integrate rather than a drop-in package.
Use it if
- You want a prominent dark-surface card with a configurable neon border and glow.
- Your app already supports shadcn registry conventions, Tailwind theme utilities, and the @ import alias.
- You need the card to accept normal div attributes and arbitrary React children.
Skip it if
- You need a quiet card treatment without continuous decorative animation.
- Your design system does not use Tailwind or shadcn-style utility and alias conventions.
- The card can resize independently of the window or its children, because its measured glow geometry may not refresh for that change.
Install
| Declared dependencies | none declared |
|---|---|
| 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, add an @ path alias, provide a compatible cn class-merging helper at lib/utils, enable the Tailwind utilities used by the source, and register the background-position animation and its keyframes in the theme CSS. Keep it as a client component because it reads element dimensions and listens for window resize events.
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