{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-book-open",
  "type": "registry:ui",
  "title": "Book Open Icon",
  "description": "Book Open icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/book-open/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/book-open.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 BookOpenProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    rightLeaf: {\n      initial: {\n        scaleX: 1,\n        opacity: 1,\n        transformOrigin: '0% 50%',\n        transition: { duration: 0 },\n      },\n      animate: {\n        scaleX: [1, 0.02, -1, -1],\n        opacity: [1, 1, 1, 0],\n        transformOrigin: '0% 50%',\n        transition: {\n          duration: 0.75,\n          times: [0, 0.4, 0.8, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n    leftLeaf: { initial: { opacity: 0 }, animate: { opacity: 0 } },\n    lineL1: {\n      initial: { opacity: 0, pathLength: 0, transition: { duration: 0.12 } },\n      animate: {\n        opacity: 1,\n        pathLength: 1,\n        transition: {\n          opacity: { duration: 0.1, delay: 0.55 },\n          pathLength: { duration: 0.25, delay: 0.55, ease: 'easeOut' },\n        },\n      },\n    },\n    lineL2: {\n      initial: { opacity: 0, pathLength: 0, transition: { duration: 0.12 } },\n      animate: {\n        opacity: 1,\n        pathLength: 1,\n        transition: {\n          opacity: { duration: 0.1, delay: 0.65 },\n          pathLength: { duration: 0.25, delay: 0.65, ease: 'easeOut' },\n        },\n      },\n    },\n    lineR1: {\n      initial: { opacity: 0, pathLength: 0 },\n      animate: { opacity: 0, pathLength: 0 },\n    },\n    lineR2: {\n      initial: { opacity: 0, pathLength: 0 },\n      animate: { opacity: 0, pathLength: 0 },\n    },\n  } satisfies Record<string, Variants>,\n  rtl: {\n    rightLeaf: { initial: { opacity: 0 }, animate: { opacity: 0 } },\n    leftLeaf: {\n      initial: {\n        scaleX: 1,\n        opacity: 1,\n        transformOrigin: '100% 50%',\n        transition: { duration: 0 },\n      },\n      animate: {\n        scaleX: [1, 0.02, -1, -1],\n        opacity: [1, 1, 1, 0],\n        transformOrigin: '100% 50%',\n        transition: {\n          duration: 0.75,\n          times: [0, 0.4, 0.8, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n    lineL1: {\n      initial: { opacity: 0, pathLength: 0 },\n      animate: { opacity: 0, pathLength: 0 },\n    },\n    lineL2: {\n      initial: { opacity: 0, pathLength: 0 },\n      animate: { opacity: 0, pathLength: 0 },\n    },\n    lineR1: {\n      initial: { opacity: 0, pathLength: 0, transition: { duration: 0.12 } },\n      animate: {\n        opacity: 1,\n        pathLength: 1,\n        transition: {\n          opacity: { duration: 0.1, delay: 0.55 },\n          pathLength: { duration: 0.25, delay: 0.55, ease: 'easeOut' },\n        },\n      },\n    },\n    lineR2: {\n      initial: { opacity: 0, pathLength: 0, transition: { duration: 0.12 } },\n      animate: {\n        opacity: 1,\n        pathLength: 1,\n        transition: {\n          opacity: { duration: 0.1, delay: 0.65 },\n          pathLength: { duration: 0.25, delay: 0.65, ease: 'easeOut' },\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: BookOpenProps) {\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      <path d=\"M12 5v16\" />\n      <path d=\"M12 5A5 5 0 0 0 8 3H4A2 2 0 0 0 2 5V17A2 2 0 0 0 3.999 19H8A5 5 0 0 1 12 21\" />\n      <path d=\"M12 5A5 5 0 0 1 16 3.002L20.001 3A2 2 0 0 1 22 5V17A2 2 0 0 1 20.001 19H16A5 5 0 0 0 12 21\" />\n      <motion.path\n        d=\"M12 5A5 5 0 0 1 16 3.002L20.001 3A2 2 0 0 1 22 5V17A2 2 0 0 1 20.001 19H16A5 5 0 0 0 12 21V5Z\"\n        variants={variants.rightLeaf}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M12 5A5 5 0 0 0 8 3H4A2 2 0 0 0 2 5V17A2 2 0 0 0 3.999 19H8A5 5 0 0 1 12 21V5Z\"\n        variants={variants.leftLeaf}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M6 8h2\"\n        variants={variants.lineL1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M6 12h2\"\n        variants={variants.lineL2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M16 8h2\"\n        variants={variants.lineR1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M16 12h2\"\n        variants={variants.lineR2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction BookOpen(props: BookOpenProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  BookOpen,\n  BookOpen as BookOpenIcon,\n  type BookOpenProps,\n  type BookOpenProps as BookOpenIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "reading",
      "pages",
      "booklet",
      "magazine",
      "leaflet",
      "pamphlet"
    ]
  }
}