{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-folder",
  "type": "registry:ui",
  "title": "Folder Icon",
  "description": "Folder icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/folder/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/folder.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 FolderProps = IconProps<keyof typeof animations>;\n\nconst CLOSED_FRONT =\n  'M20 20 a2 2 0 0 0 2 -2 V8 a2 2 0 0 0 -2 -2 h-7.9 a2 2 0 0 1 -1.69 -0.9 L9.6 3.9 A2 2 0 0 0 7.93 3 H4 a2 2 0 0 0 -2 2 v13 a2 2 0 0 0 2 2 Z';\nconst OPEN_FRONT =\n  'M20 20 a2 2 0 0 0 2 -2 V11 a2 2 0 0 0 -2 -2 h-7.9 a20 20 0 0 1 -1.69 0 L9.6 9 A20 20 0 0 0 7.93 9 H4 a2 2 0 0 0 -2 2 v7 a2 2 0 0 0 2 2 Z';\n\nconst animations = {\n  default: {\n    group: {},\n    back: {},\n    path: {\n      initial: { d: CLOSED_FRONT },\n      animate: {\n        d: [CLOSED_FRONT, OPEN_FRONT, CLOSED_FRONT],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  wiggle: {\n    group: {\n      initial: {\n        scale: 1,\n        rotate: 0,\n        y: 0,\n      },\n      animate: {\n        scale: [1, 0.92, 1.05, 0.98, 1],\n        rotate: [0, -3, 3, -1.5, 0],\n        y: [0, -1, 0.5, 0],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    back: {},\n    path: {},\n  } satisfies Record<string, Variants>,\n  bounce: {\n    group: {\n      initial: {\n        scale: 1,\n        y: 0,\n      },\n      animate: {\n        scale: [1, 0.9, 1.06, 0.97, 1],\n        y: [0, -1.5, 0.5, 0],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    back: {},\n    path: {},\n  } satisfies Record<string, Variants>,\n  fill: {\n    group: {\n      initial: {\n        scale: 1,\n        rotate: 0,\n        y: 0,\n      },\n      animate: {\n        scale: [1, 0.92, 1.05, 0.98, 1],\n        rotate: [0, -3, 3, -1.5, 0],\n        y: [0, -1, 0.5, 0],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    back: {},\n    path: {\n      initial: {\n        fill: 'currentColor',\n        fillOpacity: 0,\n      },\n      animate: {\n        fillOpacity: 1,\n        transition: { delay: 0.15 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: FolderProps) {\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.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d={CLOSED_FRONT}\n          variants={variants.back}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d={CLOSED_FRONT}\n          variants={variants.path}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Folder(props: FolderProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Folder,\n  Folder as FolderIcon,\n  type FolderProps,\n  type FolderProps as FolderIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "directory"
    ]
  }
}