{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-key-01",
  "type": "registry:ui",
  "title": "Key 01 Icon",
  "description": "Key 01 icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/key-01/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/key-01.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 Key01Props = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {},\n    path2: {},\n    group: {\n      initial: { rotate: 0, scale: 1 },\n      animate: {\n        rotate: [0, -20, 0],\n        scale: [1, 0.85, 1],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  wiggle: {\n    path1: {},\n    path2: {},\n    group: {\n      initial: { rotate: 0 },\n      animate: {\n        rotate: [0, -6, 6, -6, 0],\n        transition: { duration: 0.8, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: Key01Props) {\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=\"M15.5 14.5C18.8137 14.5 21.5 11.8137 21.5 8.5C21.5 5.18629 18.8137 2.5 15.5 2.5C12.1863 2.5 9.5 5.18629 9.5 8.5C9.5 9.38041 9.68962 10.2165 10.0303 10.9697L2.5 18.5V21.5H5.5V19.5H7.5V17.5H9.5L13.0303 13.9697C13.7835 14.3104 14.6196 14.5 15.5 14.5Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path1}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M17.5 6.5L16.5 7.5\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path2}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Key01(props: Key01Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Key01,\n  Key01 as Key01Icon,\n  type Key01Props,\n  type Key01Props as Key01IconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "password",
      "login",
      "access",
      "unlock"
    ]
  }
}