{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "finger-print-remove",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "finger-print-remove-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 FingerPrintRemoveIconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface FingerPrintRemoveIconProps 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 FingerPrintRemoveIcon = forwardRef<\n FingerPrintRemoveIconHandle,\n FingerPrintRemoveIconProps\n>(\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 printVariants: Variants = {\n   normal: { pathLength: 1, opacity: 1 },\n   animate: {\n    pathLength: [0, 1],\n    opacity: [0, 1],\n    transition: {\n     pathLength: { duration: 0.8 * duration, ease: \"easeInOut\" },\n     opacity: { duration: 0.05 * duration },\n    },\n   },\n  };\n\n  const ringVariants: Variants = {\n   normal: { scale: 1 },\n   animate: {\n    scale: [1, 1.25, 1],\n    transition: {\n     duration: 0.5 * duration,\n     ease: \"easeInOut\",\n    },\n   },\n  };\n\n  const crossVariants: Variants = {\n   normal: { rotate: 0, scale: 1, transition: { duration: 0 } },\n   animate: {\n    rotate: [0, 90],\n    scale: [1, 1.3, 1],\n    transition: { duration: 0.5 * duration, ease: \"easeInOut\" },\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.path\n       d=\"M18.4428 17.0572L17.5 18M17.5 18L16.5572 18.9428M17.5 18L18.4428 18.9428M17.5 18L16.5572 17.0572\"\n       variants={crossVariants}\n       style={{ transformBox: \"view-box\", originX: \"17.5px\", originY: \"18px\" }}\n      />\n      <m.path\n       d=\"M20.3284 20.8284C18.7663 22.3905 16.2337 22.3905 14.6716 20.8284C13.1095 19.2663 13.1095 16.7337 14.6716 15.1716C16.2337 13.6095 18.7663 13.6095 20.3284 15.1716C21.8905 16.7337 21.8905 19.2663 20.3284 20.8284Z\"\n       variants={ringVariants}\n       style={{ transformBox: \"view-box\", originX: \"17.5px\", originY: \"18px\" }}\n      />\n      <m.path\n       d=\"M5.92857 20.6058C3.85602 19.1977 2.5 16.8583 2.5 14.2103V9.75757C2.5 8.57285 2.77144 7.44988 3.25704 6.44444M9.35714 21.9236C10.2589 22.0493 11.1494 22.0167 12 21.8493M17.7301 6.41803C15.636 2.12432 9.89955 0.664089 5.92857 3.36201M18.5 10.3333V11.5M10.5 6C12.7091 6 14.5 7.8804 14.5 10.2M6.88493 8.4C6.63811 8.94555 6.5 9.55584 6.5 10.2V13.8C6.5 16.1196 8.29086 18 10.5 18C10.6693 18 10.8362 17.989 11 17.9675M10.5 10.5V13.5\"\n       variants={printVariants}\n      />\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nFingerPrintRemoveIcon.displayName = \"FingerPrintRemoveIcon\";\nexport { FingerPrintRemoveIcon };\n",
      "type": "registry:ui"
    }
  ]
}