{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-bookmark",
  "type": "registry:ui",
  "title": "Bookmark Icon",
  "description": "Bookmark icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/bookmark/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/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      {...props}\n    >\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M4 17.9808V9.70753C4 6.07416 4 4.25748 5.17157 3.12874C6.34315 2 8.22876 2 12 2C15.7712 2 17.6569 2 18.8284 3.12874C20 4.25748 20 6.07416 20 9.70753V17.9808C20 20.2867 20 21.4396 19.2272 21.8523C17.7305 22.6514 14.9232 19.9852 13.59 19.1824C12.8168 18.7168 12.4302 18.484 12 18.484C11.5698 18.484 11.1832 18.7168 10.41 19.1824C9.0768 19.9852 6.26947 22.6514 4.77285 21.8523C4 21.4396 4 20.2867 4 17.9808Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <path d=\"M4 7H20\" />\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"
    ]
  }
}