n
nonaxial
Tilt Me

Tilt Card

Cards

Card that tilts based on mouse position

tilt3dperspective

Installation

$
npx shadcn@latest add https://nonaxial.com/r/tilt-card.json

Usage

tsx
import { TiltCard } from "@/components/nonaxial/tilt-card"

export default function Example() {
  return (
    <TiltCard>{/* Your content here */}</TiltCard>
  )
}

Props

PropTypeDefault
childrenReactNode
classNamestring