{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "printer-off",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "printer-off-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 PrinterOffIconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface PrinterOffIconProps 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 PrinterOffIcon = forwardRef<PrinterOffIconHandle, PrinterOffIconProps>(\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 bodyVariants: Variants = {\n   normal: { opacity: 1 },\n   animate: {\n    opacity: [1, 0.4, 1],\n    transition: { duration: 0.7 * duration, ease: \"easeInOut\" },\n   },\n  };\n\n  const slashVariants: Variants = {\n   normal: { strokeDashoffset: 0 },\n   animate: {\n    strokeDashoffset: [30, 0],\n    transition: {\n     duration: 0.45 * duration,\n     ease: \"easeInOut\",\n     delay: 0.1 * duration,\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      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      animate={controls}\n      initial=\"normal\"\n     >\n      <m.g variants={bodyVariants}>\n       <path d=\"M7 17H5.33333C4.08718 17 3.4641 17 3 16.7321C2.69596 16.5565 2.44349 16.304 2.26795 16C2 15.5359 2 14.9128 2 13.6667C2 11.1744 2 9.9282 2.5359 9C2.88697 8.39192 3.39192 7.88697 4 7.5359C4.69486 7.13472 5.56789 7.03387 7.00851 7.00851M11 7H15.3333C17.8256 7 19.0718 7 20 7.5359C20.6081 7.88697 21.113 8.39192 21.4641 9C22 9.9282 22 11.1744 22 13.6667C22 14.9128 22 15.5359 21.732 16C21.5565 16.304 21.304 16.5565 21 16.7321C20.9426 16.7652 20.8828 16.7942 20.8197 16.8197\" />\n       <path d=\"M16.9995 7V5C16.9995 3.58579 16.9995 2.87868 16.5602 2.43934C16.1209 2 15.4137 2 13.9995 2H9.99954C8.58532 2 7.87822 2 7.43888 2.43934C7.26785 2.61037 7.1634 2.82197 7.09961 3.10007\" />\n       <path d=\"M17 17V19C17 20.4142 17 21.1213 16.5607 21.5607C16.1213 22 15.4142 22 14 22H10C8.58579 22 7.87868 22 7.43934 21.5607C7 21.1213 7 20.4142 7 19V14H14\" />\n       <path d=\"M18.875 10.25H18.75M19 10.25C19 10.3881 18.8881 10.5 18.75 10.5C18.6119 10.5 18.5 10.3881 18.5 10.25C18.5 10.1119 18.6119 10 18.75 10C18.8881 10 19 10.1119 19 10.25Z\" />\n      </m.g>\n      <m.path\n       d=\"M2 2L22 22\"\n       strokeDasharray=\"30\"\n       strokeDashoffset=\"0\"\n       variants={slashVariants}\n      />\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nPrinterOffIcon.displayName = \"PrinterOffIcon\";\nexport { PrinterOffIcon };\n",
      "type": "registry:ui"
    }
  ]
}