{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "micro-scale-fade",
  "title": "Micro Scale Fade",
  "description": "A calm, tiny scale pop used as subtle premium polish for labels and headings.",
  "dependencies": ["remotion"],
  "files": [
    {
      "path": "registry/remocn/micro-scale-fade/index.tsx",
      "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface MicroScaleFadeProps {\n  text: string;\n  scaleFrom?: number;\n  fontSize?: number;\n  color?: string;\n  fontWeight?: number;\n  speed?: number;\n  className?: string;\n}\n\nexport function MicroScaleFade({\n  text,\n  scaleFrom = 0.96,\n  fontSize = 72,\n  color = \"#171717\",\n  fontWeight = 600,\n  speed = 1,\n  className,\n}: MicroScaleFadeProps) {\n  const frame = useCurrentFrame() * speed;\n  const easing = Easing.bezier(0.32, 0.72, 0, 1);\n\n  const opacity = interpolate(frame, [0, 18], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing,\n  });\n\n  const scale = interpolate(frame, [0, 18], [scaleFrom, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing,\n  });\n\n  return (\n    <div\n      style={{\n        position: \"absolute\",\n        inset: 0,\n        display: \"flex\",\n        alignItems: \"center\",\n        justifyContent: \"center\",\n        background: \"transparent\",\n      }}\n    >\n      <span\n        className={className}\n        style={{\n          fontSize,\n          fontWeight,\n          color,\n          letterSpacing: \"-0.03em\",\n          fontFamily:\n            \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\",\n          display: \"inline-block\",\n          transformOrigin: \"50% 50%\",\n          opacity,\n          scale: `${scale}`,\n        }}\n      >\n        {text}\n      </span>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/micro-scale-fade.tsx"
    }
  ],
  "type": "registry:component"
}
