Holo Foil
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardHolo(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-holoAbout this component
A collectible trading card. It tilts toward the cursor while a silver holographic foil (light bands plus a sparkle screen, colour-dodged) slides across it and a glare follows the light, like a rare card turned under a lamp.
Triggers
- Hover
- 3D
- Mouse tracking
- Card
- Gradient
Techniques
- 3D transform
- Perspective
- Mouse tracking
- CSS variables
- mix-blend-mode
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Foil and glare layers are aria-hidden.
Reduced motion
The card never tilts and the foil stays hidden.
Use it in anything you build, commercial and client work included. Licence