Wrap one card. Put TiltGlare last inside the card.
plan-card.tsx
Tilt
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| max | number | 6 | The largest turn in degrees, reached at an edge. More than about 10 reads as a toy. |
| scale | number | 1.02 | The size while the mouse is on: 1.02 is 2% larger. 1 turns the growth off. |
| perspective | number | 900 | The 3D depth in px. Smaller is stronger; set it near the item width for a large item. |
| disabled | boolean | false | Keeps the item flat and stops the pointer work. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TiltGlare
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |







