Skip to content
Premium & Brand

Tilt Card

A card that tilts in 3D toward the pointer, with an optional glare.

Import

tsx
import { TiltCard } from "@cooud-ui/ui";
bash
npx cooud-ui add tilt-card

Examples

API Reference

Generated from the component's exported types.

TiltCardProps

Extends HTMLAttributes<HTMLDivElement>

PropTypeDefaultDescription
maxTilt
number12Maximum rotation, in degrees, reached on each axis at the card's edges. Higher feels more dramatic.
glare
booleanfalseRender a soft pointer-following glare sheen across the surface.
scale
number1.03Uniform zoom applied while the pointer is over the card (`1` = none).
parallax
booleanfalseLift the content toward the viewer on hover for a layered parallax depth effect.