Tilt Card
A card that tilts in 3D toward the pointer, with an optional glare.
Import
import { TiltCard } from "@cooud-ui/ui";
npx cooud-ui add tilt-card
Examples
API Reference
Generated from the component's exported types.
TiltCardProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
maxTilt | number | 12 | Maximum rotation, in degrees, reached on each axis at the card's edges. Higher feels more dramatic. |
glare | boolean | false | Render a soft pointer-following glare sheen across the surface. |
scale | number | 1.03 | Uniform zoom applied while the pointer is over the card (`1` = none). |
parallax | boolean | false | Lift the content toward the viewer on hover for a layered parallax depth effect. |