Tilt Card

A 3D interactive card component that responds to mouse movement with smooth tilt and elevation effects.

Examples

Tilt Card Basic

Basic ussage using the default values.

plant

Tilt Card Component

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Sed, cumque nostrum minus quod perspiciatis aspernatur.

Tilt Card CTA

Uses custom tilt range and depth values.

Upgrade to Pro

Get unlimited access to all features and premium support.

Installation

npx shadcn@latest add "https://ui.rechesoares.com/registry/tilt-card.json"

Component Props

PropTypeDefaultRequiredDescription
childrenReactNode-YesContent inside the tilt card.
rangenumber32NoControls the tilt range.
depthnumber80NoControls the z-elevation on hover.
containerClassNamestring-NoOptional class for styling the card container.