Installation
Usage
import { TiltCard } from "@/components/motionx/tilt-card";<TiltCard tiltAmount={5}>
<div>Your content here</div>
</TiltCard>Props
| Prop | Type | Default | Description |
|---|---|---|---|
tiltAmount | number | 5 | The amount of tilt in degrees by default. |
className | string | - | Additional classes for the card. |
children | ReactNode | - | Children to render inside the card. |