Command Palette

Search for a command to run...

Docs
Tilt Card

Tilt Card

A card component that is tilted by default and straightens on hover with smooth animations.

JD
Have more questions?
Book a free discovery call

Or, email me at muzammil@gmail.com

Installation

Usage

import { TiltCard } from "@/components/motionx/tilt-card";
<TiltCard tiltAmount={5}>
  <div>Your content here</div>
</TiltCard>

Props

PropTypeDefaultDescription
tiltAmountnumber5The amount of tilt in degrees by default.
classNamestring-Additional classes for the card.
childrenReactNode-Children to render inside the card.