{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "perspective-tilt-in",
  "title": "Perspective Tilt In",
  "description": "Reveal with a whisper of depth — rise + rotateX settle over a perspective, one straight ease-out.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://motion.asmitsah.dev/r/provider.json"
  ],
  "files": [
    {
      "path": "components/motion/perspective-tilt-in.tsx",
      "content": "\"use client\";\n\nimport * as m from \"motion/react-m\";\nimport type { CSSProperties, ReactNode } from \"react\";\nimport { perspectiveTilt, revealTransition, viewportOnce } from \"@/lib/motion\";\n\ntype PerspectiveTiltInProps = {\n  children: ReactNode;\n  className?: string;\n  style?: CSSProperties;\n  delay?: number;\n  trigger?: \"inView\" | \"mount\";\n};\n\n/**\n * Reveal + a whisper of depth — rise + rotateX settle over a perspective,\n * one straight ease-out, no spring. Transform-only (translate/rotate), so\n * the app-level `reducedMotion=\"user\"` provider strips it automatically —\n * no manual guard needed here.\n */\nexport function PerspectiveTiltIn({\n  children,\n  className,\n  style,\n  delay = 0,\n  trigger = \"inView\",\n}: PerspectiveTiltInProps) {\n  const play =\n    trigger === \"mount\"\n      ? ({ animate: perspectiveTilt.animate } as const)\n      : ({ whileInView: perspectiveTilt.animate, viewport: viewportOnce } as const);\n\n  return (\n    <m.div\n      className={className}\n      style={style}\n      initial={perspectiveTilt.initial}\n      {...play}\n      transition={{ ...revealTransition, delay }}\n    >\n      {children}\n    </m.div>\n  );\n}\n",
      "type": "registry:component",
      "target": "@components/motion/perspective-tilt-in.tsx"
    }
  ],
  "type": "registry:component"
}