{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-crop",
  "type": "registry:ui",
  "title": "Crop Icon",
  "description": "Crop icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/crop/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/crop.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\nimport { motion, type Variants } from 'motion/react';\n\nimport {\n  getVariants,\n  useAnimateIconContext,\n  IconWrapper,\n  type IconProps,\n} from '@animate-ui/react/icons';\n\ntype CropProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {\n      initial: {\n        x: 0,\n        y: 0,\n        pathLength: 1,\n        pathOffset: 0,\n      },\n      animate: {\n        pathLength: [1, 0.8, 1],\n        pathOffset: [0, 0.1, 0],\n        x: [0, 3, 0],\n        y: [0, -3, 0],\n        transition: {\n          duration: 1,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    path2: {\n      initial: {\n        x: 0,\n        y: 0,\n        pathLength: 1,\n        pathOffset: 0,\n      },\n      animate: {\n        pathLength: [1, 0.8, 1],\n        pathOffset: [0, 0.1, 0],\n        x: [0, -3, 0],\n        y: [0, 3, 0],\n        transition: {\n          duration: 1,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CropProps) {\n  const { controls } = useAnimateIconContext();\n  const variants = getVariants(animations);\n\n  return (\n    <motion.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      initial=\"initial\"\n      animate={controls}\n      {...props}\n    >\n      <motion.path\n        d=\"M6 2v14a2 2 0 0 0 2 2h14\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M18 22V8a2 2 0 0 0-2-2H2\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Crop(props: CropProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Crop,\n  Crop as CropIcon,\n  type CropProps,\n  type CropProps as CropIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "photo",
      "image"
    ]
  }
}