{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-rotate-ccw-key",
  "title": "Rotate Ccw Key Icon",
  "description": "Rotate Ccw Key icon component.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "@animate-ui/icons-icon"
  ],
  "files": [
    {
      "path": "registry/icons/rotate-ccw-key/index.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 '@/components/animate-ui/icons/icon';\n\ntype RotateCcwKeyProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: {\n        rotate: 0,\n        transition: { type: 'spring', stiffness: 150, damping: 25 },\n      },\n      animate: {\n        rotate: -45,\n        transition: { type: 'spring', stiffness: 150, damping: 25 },\n      },\n    },\n    arrowArc: {},\n    arrowHead: {},\n    keyPart1: {},\n    keyPart2: {},\n    circle: {},\n  } satisfies Record<string, Variants>,\n  rotate: {\n    group: {\n      initial: {\n        rotate: 0,\n        transition: { type: 'spring', stiffness: 150, damping: 25 },\n      },\n      animate: {\n        rotate: -360,\n        transition: { type: 'spring', stiffness: 150, damping: 25 },\n      },\n    },\n    arrowArc: {},\n    arrowHead: {},\n    keyPart1: {},\n    keyPart2: {},\n    circle: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: RotateCcwKeyProps) {\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      variants={variants.group}\n      initial=\"initial\"\n      animate={controls}\n      {...props}\n    >\n      <motion.path\n        d=\"m14.5 9.5 1 1\"\n        variants={variants.keyPart1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"m15.5 8.5-4 4\"\n        variants={variants.keyPart2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M3 12a9 9 0 1 0 9-9 9.74 9.74 0 0 0-6.74 2.74L3 8\"\n        variants={variants.arrowArc}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M3 3v5h5\"\n        variants={variants.arrowHead}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.circle\n        cx=\"10\"\n        cy=\"14\"\n        r=\"2\"\n        variants={variants.circle}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction RotateCcwKey(props: RotateCcwKeyProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  RotateCcwKey,\n  RotateCcwKey as RotateCcwKeyIcon,\n  type RotateCcwKeyProps,\n  type RotateCcwKeyProps as RotateCcwKeyIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/rotate-ccw-key.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "password",
      "key",
      "refresh",
      "change"
    ]
  },
  "type": "registry:ui"
}