Tilts with your pointer. Click or press Enter to flip it over.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| number | string | Shown as given, e.g. "•••• •••• •••• 4821". | |
| name | string | Cardholder name printed on the card. | |
| expires | string | Expiry date as text, e.g. "08/28". | |
| cvv | string | "•••" | Security code shown on the back of the card. |
| brand | string | "Depth Bank" | Issuer name shown on the card. |
| width | number | 320 | Card width in px. Height follows the standard card ratio. |
| className | string | Extra classes added to the outer element. |