design-infraGitHub
Report a problem or share feedback← Catalog

Magic Card

curatedfree

magicui/magic-card

A spotlight effect that follows your mouse cursor and highlights borders on hover.

cursor · hover — subtlewrapperFuturisticRefinedPlayful
$npx shadcn@latest add @magicui/magic-card

npm deps: motion, next-themes

Our notes

Spotlight-follows-cursor card (bg-background surface). Gradient defaults are purple/pink hex and it imports next-themes — pass gradientFrom/To from the theme; drop next-themes if you don't use it.
Source
Magic UI
Kind
component
Categories
card
Use as
wrapper — wraps your existing element
Applies to
card
Motion
on cursor, hover · subtle · motion · medium cost · ignores reduced motion
Tags
motion
Licence
MIT (magicuidesign/magicui). Magic UI Pro templates are a separate paid product — not catalogued.
Live demo
magicui.design
Docs
magicui.design