{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dashboard-0-3",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "dashboard-0-3-icon.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport type { Variants } from \"motion/react\";\nimport {\n LazyMotion,\n domMin,\n m,\n useAnimation,\n useReducedMotion,\n} from \"motion/react\";\nimport {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useRef,\n type HTMLAttributes,\n} from \"react\";\nexport interface Dashboard03IconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface Dashboard03IconProps extends Omit<\n HTMLAttributes<HTMLDivElement>,\n | \"color\"\n | \"onDrag\"\n | \"onDragStart\"\n | \"onDragEnd\"\n | \"onAnimationStart\"\n | \"onAnimationEnd\"\n | \"onAnimationIteration\"\n> {\n size?: number;\n duration?: number;\n isAnimated?: boolean;\n color?: string;\n}\n\nconst Dashboard03Icon = forwardRef<Dashboard03IconHandle, Dashboard03IconProps>(\n (\n  {\n   onMouseEnter,\n   onMouseLeave,\n   className,\n   size = 24,\n   duration = 1,\n   isAnimated = true,\n   color,\n   ...props\n  },\n  ref,\n ) => {\n  const controls = useAnimation();\n  const reduced = useReducedMotion();\n  const isControlled = useRef(false);\n\n  useImperativeHandle(ref, () => {\n   isControlled.current = true;\n   return {\n    startAnimation: () =>\n     reduced ? controls.start(\"normal\") : controls.start(\"animate\"),\n    stopAnimation: () => controls.start(\"normal\"),\n   };\n  });\n\n  const handleEnter = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isAnimated || reduced) return;\n    if (!isControlled.current) controls.start(\"animate\");\n    else onMouseEnter?.(e as any);\n   },\n   [controls, reduced, isAnimated, onMouseEnter],\n  );\n\n  const handleLeave = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isControlled.current) controls.start(\"normal\");\n    else onMouseLeave?.(e as any);\n   },\n   [controls, onMouseLeave],\n  );\n\n  const gridVariants: Variants = {\n   normal: { scale: 1, rotate: 0 },\n   animate: {\n    scale: [1, 1.04, 1],\n    rotate: [0, 1, 0],\n    transition: {\n     duration: 0.6 * duration,\n     ease: \"easeInOut\",\n    },\n   },\n  };\n\n  const tileVariants: Variants = {\n   normal: { opacity: 1, scale: 1 },\n   animate: (i: number) => ({\n    opacity: [0.5, 1],\n    scale: [0.9, 1.08, 1],\n    transition: {\n     duration: 0.55 * duration,\n     delay: 0.08 * i,\n     ease: \"easeOut\",\n    },\n   }),\n  };\n\n  const sweepVariants: Variants = {\n   normal: { x: -26, y: -26, opacity: 0 },\n   animate: {\n    x: [-26, 26],\n    y: [-26, 26],\n    opacity: [0, 0.25, 0],\n    transition: {\n     duration: 0.8 * duration,\n     ease: \"easeInOut\",\n     delay: 0.1,\n    },\n   },\n  };\n\n  return (\n   <LazyMotion features={domMin} strict>\n    <m.div\n     className={cn(\"inline-flex items-center justify-center\", className)}\n     onMouseEnter={handleEnter}\n     onMouseLeave={handleLeave}\n     {...props}\n     style={{ color, ...props.style }}\n    >\n     <m.svg\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=\"currentColor\"\n      strokeWidth=\"2\"\n      strokeLinejoin=\"round\"\n     >\n      <defs>\n       <linearGradient id=\"dashboard03-sweep\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\n        <stop offset=\"0%\" stopColor=\"currentColor\" stopOpacity=\"0\" />\n        <stop offset=\"50%\" stopColor=\"currentColor\" stopOpacity=\"0.25\" />\n        <stop offset=\"100%\" stopColor=\"currentColor\" stopOpacity=\"0\" />\n       </linearGradient>\n      </defs>\n\n      <m.g variants={gridVariants} initial=\"normal\" animate={controls}>\n       <m.g\n        variants={tileVariants}\n        custom={0}\n        initial=\"normal\"\n        animate={controls}\n       >\n        <path d=\"M10.5 6.75C10.5 4.67893 8.82107 3 6.75 3C4.67893 3 3 4.67893 3 6.75C3 8.82107 4.67893 10.5 6.75 10.5C8.82107 10.5 10.5 8.82107 10.5 6.75Z\" />\n       </m.g>\n\n       <m.g\n        variants={tileVariants}\n        custom={1}\n        initial=\"normal\"\n        animate={controls}\n       >\n        <path d=\"M21 6.75C21 4.67893 19.3211 3 17.25 3C15.1789 3 13.5 4.67893 13.5 6.75C13.5 8.82107 15.1789 10.5 17.25 10.5C19.3211 10.5 21 8.82107 21 6.75Z\" />\n       </m.g>\n\n       <m.g\n        variants={tileVariants}\n        custom={2}\n        initial=\"normal\"\n        animate={controls}\n       >\n        <path d=\"M21 17.25C21 15.1789 19.3211 13.5 17.25 13.5C15.1789 13.5 13.5 15.1789 13.5 17.25C13.5 19.3211 15.1789 21 17.25 21C19.3211 21 21 19.3211 21 17.25Z\" />\n       </m.g>\n\n       <m.g\n        variants={tileVariants}\n        custom={3}\n        initial=\"normal\"\n        animate={controls}\n       >\n        <path d=\"M10.5 17.25C10.5 15.1789 8.82107 13.5 6.75 13.5C4.67893 13.5 3 15.1789 3 17.25C3 19.3211 4.67893 21 6.75 21C8.82107 21 10.5 19.3211 10.5 17.25Z\" />\n       </m.g>\n\n       <m.rect\n        x=\"2\"\n        y=\"2\"\n        width=\"20\"\n        height=\"20\"\n        rx=\"6\"\n        fill=\"url(#dashboard03-sweep)\"\n        variants={sweepVariants}\n        initial=\"normal\"\n        animate={controls}\n        style={{ pointerEvents: \"none\" }}\n       />\n      </m.g>\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nDashboard03Icon.displayName = \"Dashboard03Icon\";\nexport { Dashboard03Icon };\n",
      "type": "registry:ui"
    }
  ]
}