{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-camera",
  "type": "registry:ui",
  "title": "Camera Icon",
  "description": "Camera icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/camera/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/camera.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 CameraProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    body: {\n      initial: { scale: 1 },\n      animate: {\n        scale: [1, 0.94, 1],\n        transition: { duration: 0.4, ease: 'easeInOut' },\n      },\n    },\n    lens: {\n      initial: { scale: 1 },\n      animate: {\n        scale: [1, 0.7, 1.1, 1],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  flash: {\n    body: {},\n    lens: {\n      initial: { fill: 'currentColor', fillOpacity: 0 },\n      animate: {\n        fillOpacity: [0, 1, 0, 1, 0, 1, 0],\n        transition: {\n          duration: 0.6,\n          times: [0, 0.17, 0.33, 0.5, 0.67, 0.83, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CameraProps) {\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.g variants={variants.body} initial=\"initial\" animate={controls}>\n        <path d=\"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z\" />\n        <motion.circle\n          cx={12}\n          cy={13}\n          r={3}\n          variants={variants.lens}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Camera(props: CameraProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Camera,\n  Camera as CameraIcon,\n  type CameraProps,\n  type CameraProps as CameraIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "photography",
      "picture",
      "photo",
      "capture",
      "snapshot"
    ]
  }
}