{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-gallery-horizontal",
  "type": "registry:ui",
  "title": "Gallery Horizontal Icon",
  "description": "Gallery horizontal icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/gallery-horizontal/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/gallery-horizontal.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 GalleryHorizontalProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: (() => {\n    const animation: Record<string, Variants> = {\n      rect: {},\n    };\n\n    for (let i = 1; i <= 2; i++) {\n      animation[`path${i}`] = {\n        initial: { opacity: 1, scale: 1, x: 0 },\n        animate: {\n          opacity: [0, 1],\n          scale: [0.8, 1],\n          x: [4 * Math.pow(-1, i + 1), 0],\n          transition: {\n            type: 'spring',\n            stiffness: 150,\n            damping: 15,\n          },\n        },\n      };\n    }\n\n    return animation;\n  })() satisfies Record<string, Variants>,\n\n  zoom: (() => {\n    const animation: Record<string, Variants> = {\n      rect: {\n        initial: { opacity: 1, scale: 1 },\n        animate: {\n          opacity: 0,\n          scale: 0,\n          transition: {\n            opacity: {\n              duration: 0.2,\n              ease: 'easeInOut',\n              repeat: 1,\n              repeatType: 'reverse',\n              repeatDelay: 0.2,\n            },\n            scale: {\n              duration: 0.2,\n              ease: 'easeInOut',\n              repeat: 1,\n              repeatType: 'reverse',\n              repeatDelay: 0.2,\n            },\n          },\n        },\n      },\n    };\n\n    for (let i = 1; i <= 2; i++) {\n      animation[`path${i}`] = {\n        initial: { opacity: 1, transform: 'translateX(0) scale(1)' },\n        animate: {\n          opacity: 0,\n          transform: `translateX(${8 * Math.pow(-1, i + 1)}px) scale(0)`,\n          transition: {\n            transform: {\n              duration: 0.2,\n              ease: 'easeInOut',\n              repeat: 1,\n              repeatType: 'reverse',\n              repeatDelay: 0.4,\n            },\n            opacity: {\n              duration: 0.2,\n              ease: 'easeInOut',\n              repeat: 1,\n              repeatType: 'reverse',\n              repeatDelay: 0.4,\n            },\n            scale: {\n              duration: 0.2,\n              ease: 'easeInOut',\n              repeat: 1,\n              repeatType: 'reverse',\n              repeatDelay: 0.4,\n            },\n          },\n        },\n      };\n    }\n\n    return animation;\n  })() satisfies Record<string, Variants>,\n\n  collapse: {\n    rect: {},\n    path1: {\n      initial: { x: 0, scaleY: 1 },\n      animate: {\n        x: 4,\n        scaleY: 0.8,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    path2: {\n      initial: { x: 0, scaleY: 1 },\n      animate: {\n        x: -4,\n        scaleY: 0.8,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: GalleryHorizontalProps) {\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      {...props}\n    >\n      <motion.path\n        d=\"M2 6V18\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M13 3L11 3C8.64298 3 7.46447 3 6.73223 3.73223C6 4.46447 6 5.64298 6 8L6 16C6 18.357 6 19.5355 6.73223 20.2678C7.46447 21 8.64298 21 11 21H13C15.357 21 16.5355 21 17.2678 20.2678C18 19.5355 18 18.357 18 16V8C18 5.64298 18 4.46447 17.2678 3.73223C16.5355 3 15.357 3 13 3Z\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.rect}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M22 6V18\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction GalleryHorizontal(props: GalleryHorizontalProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  GalleryHorizontal,\n  GalleryHorizontal as GalleryHorizontalIcon,\n  type GalleryHorizontalProps,\n  type GalleryHorizontalProps as GalleryHorizontalIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "layout",
      "design",
      "development",
      "photography",
      "multimedia",
      "files"
    ]
  }
}