{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-power",
  "type": "registry:ui",
  "title": "Power Icon",
  "description": "Power icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/power/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/power.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 PowerProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    stem: {\n      initial: { y: 0 },\n      animate: {\n        y: [0, 2, 0],\n        transition: { duration: 0.4, ease: 'easeInOut' },\n      },\n    },\n    ring: {\n      initial: { scale: 1 },\n      animate: {\n        scale: [1, 0.94, 1],\n        transition: { duration: 0.4, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: PowerProps) {\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.path\n        d=\"M12 3V12\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.stem}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M18.7083 6C20.1334 7.59227 21 9.69494 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 9.69494 3.86656 7.59227 5.29168 6\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.ring}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Power(props: PowerProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Power,\n  Power as PowerIcon,\n  type PowerProps,\n  type PowerProps as PowerIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "on",
      "off",
      "device",
      "switch",
      "toggle"
    ]
  }
}