# Holographic Card

> A metallic rainbow foil that shifts and shimmers as the pointer moves, like a holographic trading card.

Category: Cards · MotionKit Plus · Updated 2026-10-20 · Live demo: https://www.motionkitui.com/components/holographic-card

## When to use it

Membership cards, collectibles, launch tickets and "you unlocked it" moments: anywhere a little delight beats restraint.

## How it works

A repeating rainbow gradient three times the card's size slides as the pointer moves, so the colour bands sweep across the surface. A radial mask shows the bright bands only around the pointer, like light catching foil, while a faint copy covers the whole card so it reads as foil even at rest. Fine diagonal lines add the grain of a printed hologram, and the card tilts gently on springs.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/holographic-card` after adding their registry token from https://www.motionkitui.com/account.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `intensity` | `number` | `0.6` | 0–1. Strength of the rainbow foil. |
| `tilt` | `number` | `10` | Maximum rotation in degrees. 0 keeps it flat. |
| `children` | `ReactNode` |  | Card content. |

## Accessibility

- **Keyboard: Pass.** When the card holds a link or button, focusing it brightens the foil, so keyboard users see the same effect.
- **Screen readers: Pass.** The foil, lines and glare are hidden from assistive tech. Only your content is read.
- **Reduced motion: Pass.** With reduced motion on, the card does not tilt and the foil stays still.
- **Colour contrast: Partial.** The foil brightens the surface where light falls. Text gets a soft shadow, but check small text at full intensity.
