Tilt Card

Wrap a product shot, pricing tier or profile in TiltCard and it leans toward the cursor in 3D while a soft highlight follows the pointer; tilt angle and glare are props, and it stays flat on touch screens and under reduced motion.

Preview

Tilt Card preview width

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @karaui/tilt-card
@karaui not found? Add it to components.json
{
  "registries": {
    "@karaui": "https://karaui.kamisama-v0.my.id/r/{name}.json"
  }
}

@karaui is in shadcn's public registry directory, so the latest CLI needs no setup. On an older CLI, merge this into the existing file once and every @karaui/… install resolves.

API Reference

max?
number
12
glare?
boolean
true
className?
string
—

Updated