{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-archive",
  "type": "registry:ui",
  "title": "Archive Icon",
  "description": "Archive icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/archive/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/archive.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 ArchiveProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    lid: {\n      initial: {\n        y: 0,\n        rotate: 0,\n        transformOrigin: '2px 5.5px',\n        transition: { duration: 0.15 },\n      },\n      animate: {\n        y: [0, -1, 0],\n        rotate: [0, -2, 0],\n        transformOrigin: '2px 5.5px',\n        transition: { duration: 0.5, times: [0, 0.4, 1], ease: 'easeInOut' },\n      },\n    },\n    body: {},\n    handle: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: ArchiveProps) {\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=\"20\"\n        height=\"5\"\n        x=\"2\"\n        y=\"3\"\n        rx=\"1\"\n        variants={variants.lid}\n        initial=\"initial\"\n        animate={controls}\n        style={{ transformBox: 'view-box' }}\n      />\n      <motion.path\n        d=\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8\"\n        variants={variants.body}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M10 12h4\"\n        variants={variants.handle}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Archive(props: ArchiveProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Archive,\n  Archive as ArchiveIcon,\n  type ArchiveProps,\n  type ArchiveProps as ArchiveIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "index",
      "backup",
      "box",
      "storage",
      "records"
    ]
  }
}