{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "scale-in",
  "title": "Scale In",
  "description": "Soft 0.95 → 1 grow + fade on a straight ease tween, never a spring.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://motion.asmitsah.dev/r/provider.json"
  ],
  "files": [
    {
      "path": "components/motion/scale-in.tsx",
      "content": "\"use client\";\n\nimport * as m from \"motion/react-m\";\nimport type { CSSProperties, ReactNode } from \"react\";\nimport { revealTransition, scaleIn, viewportOnce } from \"@/lib/motion\";\n\ntype ScaleInProps = {\n  children: ReactNode;\n  className?: string;\n  style?: CSSProperties;\n  delay?: number;\n  trigger?: \"inView\" | \"mount\";\n};\n\n/** Soft 0.95 → 1 grow + fade — a straight ease tween, never a spring. */\nexport function ScaleIn({\n  children,\n  className,\n  style,\n  delay = 0,\n  trigger = \"inView\",\n}: ScaleInProps) {\n  const play =\n    trigger === \"mount\"\n      ? ({ animate: scaleIn.animate } as const)\n      : ({ whileInView: scaleIn.animate, viewport: viewportOnce } as const);\n\n  return (\n    <m.div\n      className={className}\n      style={style}\n      initial={scaleIn.initial}\n      {...play}\n      transition={{ ...revealTransition, delay }}\n    >\n      {children}\n    </m.div>\n  );\n}\n",
      "type": "registry:component",
      "target": "@components/motion/scale-in.tsx"
    }
  ],
  "type": "registry:component"
}