{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-binary",
  "type": "registry:ui",
  "title": "Binary Icon",
  "description": "Binary icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/binary/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/binary.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 BinaryProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    rect1: {\n      initial: {\n        x: 0,\n      },\n      animate: {\n        x: -8,\n        transition: {\n          duration: 0.4,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    rect2: {\n      initial: {\n        x: 0,\n      },\n      animate: {\n        x: 8,\n        transition: {\n          duration: 0.4,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    path1: {\n      initial: {\n        y: 0,\n      },\n      animate: {\n        y: -10,\n        transition: {\n          duration: 0.4,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    path2: {\n      initial: {\n        y: 0,\n      },\n      animate: {\n        y: 10,\n        transition: {\n          duration: 0.4,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: BinaryProps) {\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.rect1} initial=\"initial\" animate={controls}>\n        <path\n          d=\"M18.5 21L14.5 21\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path\n          d=\"M16.5 21V15.4878C16.5 14.6127 16.5 14.1752 16.2236 14.0367C15.9472 13.8981 15.5981 14.1606 14.9 14.6856L14.5 14.9864\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </motion.g>\n      <motion.g variants={variants.rect2} initial=\"initial\" animate={controls}>\n        <path\n          d=\"M9.59961 10L5.59961 10\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path\n          d=\"M7.59961 10V4.48779C7.59961 3.61275 7.59961 3.17523 7.32322 3.03665C7.04682 2.89808 6.69775 3.1606 5.99961 3.68562L5.59961 3.98644\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </motion.g>\n      <motion.path\n        d=\"M10 18.5V16.5C10 15.1193 8.88071 14 7.5 14C6.11929 14 5 15.1193 5 16.5V18.5C5 19.8807 6.11929 21 7.5 21C8.88071 21 10 19.8807 10 18.5Z\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M19 7.5V5.5C19 4.11929 17.8807 3 16.5 3C15.1193 3 14 4.11929 14 5.5V7.5C14 8.88071 15.1193 10 16.5 10C17.8807 10 19 8.88071 19 7.5Z\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Binary(props: BinaryProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Binary,\n  Binary as BinaryIcon,\n  type BinaryProps,\n  type BinaryProps as BinaryIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "code",
      "digits",
      "computer",
      "zero",
      "one",
      "boolean"
    ]
  }
}