{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "brand-chrome-icon",
  "dependencies": ["motion"],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "icons/brand-chrome-icon.tsx",
      "content": "\"use client\";\nimport { forwardRef, useImperativeHandle } from \"react\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { motion, useAnimate } from \"motion/react\";\n\nconst BrandChromeIcon = forwardRef<AnimatedIconHandle, AnimatedIconProps>(\n  (\n    { size = 24, color = \"currentColor\", strokeWidth = 2, className = \"\" },\n    ref,\n  ) => {\n    const [scope, animate] = useAnimate();\n\n    const start = () => {\n      animate(\".chrome-center\", { scale: [1, 1.15, 1] }, { duration: 0.3 });\n      animate(\n        \".chrome-rotator\",\n        { rotate: 90 },\n        { duration: 0.5, ease: [0.34, 1.56, 0.64, 1] },\n      );\n    };\n\n    const stop = () => {\n      animate(\".chrome-rotator\", { rotate: 0 }, { duration: 0.3 });\n      animate(\".chrome-center\", { scale: 1 }, { duration: 0.2 });\n    };\n\n    useImperativeHandle(ref, () => ({\n      startAnimation: start,\n      stopAnimation: stop,\n    }));\n\n    return (\n      <motion.svg\n        ref={scope}\n        onHoverStart={start}\n        onHoverEnd={stop}\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width={size}\n        height={size}\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke={color}\n        strokeWidth={strokeWidth}\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        className={`cursor-pointer ${className}`}\n      >\n        <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n        <motion.g\n          className=\"chrome-rotator\"\n          style={{ transformOrigin: \"center\" }}\n        >\n          <path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" />\n          <path d=\"M12 9h8.4\" />\n          <path d=\"M14.598 13.5l-4.2 7.275\" />\n          <path d=\"M9.402 13.5l-4.2 -7.275\" />\n          <circle\n            cx=\"12\"\n            cy=\"12\"\n            r=\"3\"\n            stroke=\"none\"\n            className=\"fill-background\"\n          />\n          <motion.path\n            className=\"chrome-center\"\n            d=\"M9 12a3 3 0 1 0 6 0a3 3 0 1 0 -6 0\"\n            style={{ transformOrigin: \"center\" }}\n          />\n        </motion.g>\n      </motion.svg>\n    );\n  },\n);\n\nBrandChromeIcon.displayName = \"BrandChromeIcon\";\n\nexport default BrandChromeIcon;\n",
      "type": "registry:ui"
    },
    {
      "path": "icons/types.ts",
      "content": "import type { SVGProps } from \"react\";\n\n/** Standard stroke width for 24×24 outline icons */\nexport const DEFAULT_STROKE_WIDTH = 2;\n\n/** Scale stroke to match DEFAULT_STROKE_WIDTH on non-24 viewBoxes */\nexport function scaledStrokeWidth(\n  strokeWidth: number,\n  viewBoxSize: number,\n): number {\n  return strokeWidth * (viewBoxSize / 24);\n}\n\nexport type IconEasing =\n  | \"linear\"\n  | \"easeIn\"\n  | \"easeOut\"\n  | \"easeInOut\"\n  | \"circIn\"\n  | \"circOut\"\n  | \"circInOut\"\n  | \"backIn\"\n  | \"backOut\"\n  | \"backInOut\"\n  | \"anticipate\";\n\nexport interface AnimatedIconProps extends Omit<\n  SVGProps<SVGSVGElement>,\n  | \"ref\"\n  | \"onAnimationStart\"\n  | \"onAnimationEnd\"\n  | \"onAnimationIteration\"\n  | \"onDrag\"\n  | \"onDragEnd\"\n  | \"onDragEnter\"\n  | \"onDragExit\"\n  | \"onDragLeave\"\n  | \"onDragOver\"\n  | \"onDragStart\"\n  | \"onDrop\"\n  | \"values\"\n> {\n  /** Icon size in pixels or CSS string */\n  size?: number | string;\n  /** Icon color (defaults to currentColor) */\n  color?: string;\n  /** SVG stroke width */\n  strokeWidth?: number;\n  /** Additional CSS classes */\n  className?: string;\n}\n\nexport interface AnimatedIconHandle {\n  startAnimation: () => void;\n  stopAnimation: () => void;\n}\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}
