{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-bookmark",
  "type": "registry:ui",
  "title": "Bookmark Icon",
  "description": "Bookmark icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/bookmark/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/bookmark.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 BookmarkProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: { scaleY: 1, transformOrigin: '50% 0%' },\n      animate: {\n        scaleY: [1, 0.82, 1.03, 1],\n        transformOrigin: '50% 0%',\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    path: {},\n  } satisfies Record<string, Variants>,\n  fill: {\n    group: {\n      initial: { scaleY: 1, transformOrigin: '50% 0%' },\n      animate: {\n        scaleY: [1, 0.82, 1.03, 1],\n        transformOrigin: '50% 0%',\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    path: {\n      initial: { fill: 'currentColor', fillOpacity: 0 },\n      animate: { fillOpacity: 1, transition: { delay: 0.2 } },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: BookmarkProps) {\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=\"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z\"\n          variants={variants.path}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Bookmark(props: BookmarkProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Bookmark,\n  Bookmark as BookmarkIcon,\n  type BookmarkProps,\n  type BookmarkProps as BookmarkIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "read",
      "save",
      "favorite",
      "later",
      "mark"
    ]
  }
}