Back

3D Card

Satu Visual ComponentNew

A perspective card that rotates toward the cursor in 3D.

3D Card

Hover and move — it tilts in real 3D.

Installation

Add it with the CLI:

Terminal

$

Or open the Code tab above and copy it in manually — it relies on the standard cn() helper from @/lib/utils.

Usage

Wrap any content. Hover and move to tilt; it scales up slightly for depth.

Props

PropTypeDefaultDescription
childrenReactNodeCard content.
classNamestringExtra classes.
intensitynumber15Max rotation in degrees.