{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-file",
  "type": "registry:ui",
  "title": "File Icon",
  "description": "File icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/file/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/file.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 FileProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    sheet: {\n      initial: {\n        d: 'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z',\n      },\n      animate: {\n        d: [\n          'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z',\n          'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a240 240 0 0 1 2.4 0l1.6 0A2.4 2.4 0 0 1 20 4v16a2 2 0 0 1 -2 2z',\n          'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a240 240 0 0 1 2.4 0l1.6 0A2.4 2.4 0 0 1 20 4v16a2 2 0 0 1 -2 2z',\n          'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z',\n        ],\n        transition: {\n          duration: 1.8,\n          times: [0, 0.25, 0.75, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n    fold: {\n      initial: { pathLength: 1, opacity: 1 },\n      animate: {\n        pathLength: [1, 0, 0, 1],\n        opacity: [1, 0, 0, 1],\n        transition: {\n          duration: 1.8,\n          times: [0, 0.25, 0.75, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n    line1: {\n      initial: { pathLength: 0, opacity: 0 },\n      animate: {\n        pathLength: [0, 0, 1, 1, 0],\n        opacity: [0, 0, 1, 1, 0],\n        transition: {\n          duration: 1.8,\n          times: [0, 0.3, 0.45, 0.7, 0.78],\n          ease: 'easeOut',\n        },\n      },\n    },\n    line2: {\n      initial: { pathLength: 0, opacity: 0 },\n      animate: {\n        pathLength: [0, 0, 1, 1, 0],\n        opacity: [0, 0, 1, 1, 0],\n        transition: {\n          duration: 1.8,\n          times: [0, 0.45, 0.6, 0.7, 0.78],\n          ease: 'easeOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: FileProps) {\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.path\n        d=\"M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z\"\n        variants={variants.sheet}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M14 2v5a1 1 0 0 0 1 1h5\"\n        variants={variants.fold}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M8 11h8\"\n        variants={variants.line1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M8 15h8\"\n        variants={variants.line2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction File(props: FileProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  File,\n  File as FileIcon,\n  type FileProps,\n  type FileProps as FileIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "document"
    ]
  }
}