{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-image",
  "type": "registry:ui",
  "title": "Image Icon",
  "description": "Image icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/image/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/image.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 ImageProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    frame: {},\n    sun: {\n      initial: { pathLength: 1, opacity: 1 },\n      animate: {\n        pathLength: [0, 1],\n        opacity: [0, 1],\n        transition: { duration: 0.4, delay: 0.05, ease: 'easeOut' },\n      },\n    },\n    mountain: {\n      initial: { pathLength: 1, opacity: 1 },\n      animate: {\n        pathLength: [0, 1],\n        opacity: [0, 1],\n        transition: { duration: 0.5, delay: 0.3, ease: 'easeOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: ImageProps) {\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      {...props}\n    >\n      <motion.rect\n        width=\"18\"\n        height=\"18\"\n        x=\"3\"\n        y=\"3\"\n        rx=\"2\"\n        ry=\"2\"\n        variants={variants.frame}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.circle\n        cx=\"9\"\n        cy=\"9\"\n        r=\"2\"\n        variants={variants.sun}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\n        variants={variants.mountain}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Image(props: ImageProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Image,\n  Image as ImageIcon,\n  type ImageProps,\n  type ImageProps as ImageIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "picture",
      "photo"
    ]
  }
}