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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of magicui-magic-card at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-magic-card at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-magic-card 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-magic-card
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal71.9 KB (137.4 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for magicui-magic-card
Declared dependenciesmotion, next-themes, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-17

Alternatives

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.