{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-rotate-clockwise",
  "type": "registry:ui",
  "title": "Rotate Clockwise Icon",
  "description": "Rotate Clockwise icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/rotate-clockwise/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/rotate-clockwise.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 RotateClockwiseProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {},\n    path2: {},\n    group: {\n      initial: {\n        rotate: 0,\n        scale: 1,\n        transition: { duration: 0.8, ease: 'easeInOut' },\n      },\n      animate: {\n        rotate: -360,\n        scale: [1, 0.8, 0.8, 1],\n        transition: {\n          duration: 0.8,\n          ease: 'easeInOut',\n          scale: { duration: 0.8, ease: 'easeInOut', times: [0, 0.2, 0.8, 1] },\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  tilt: {\n    path1: {},\n    path2: {},\n    group: {\n      initial: {\n        rotate: 0,\n        scale: 1,\n        transition: { type: 'spring', stiffness: 150, damping: 25 },\n      },\n      animate: {\n        rotate: -45,\n        scale: 0.85,\n        transition: { type: 'spring', stiffness: 150, damping: 25 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  rotate: {\n    path1: {},\n    path2: {},\n    group: {\n      initial: {\n        rotate: 0,\n        scale: 1,\n        transition: { type: 'spring', stiffness: 170, damping: 26 },\n      },\n      animate: {\n        rotate: -360,\n        scale: [1, 0.8, 0.8, 1],\n        transition: {\n          rotate: { type: 'spring', stiffness: 170, damping: 26, delay: 0.1 },\n          scale: {\n            duration: 1.4,\n            ease: 'easeInOut',\n            times: [0, 0.07, 0.85, 1],\n          },\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: RotateClockwiseProps) {\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 2V5.13219C4 5.42605 4.36724 5.55908 4.55527 5.33333C6.3854 3.2875 9.04499 2 12.0051 2C17.5251 2 22 6.47715 22 12C22 15.9582 19.7015 19.3793 16.367 21\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path1}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M11.7347 22.0001C12.2016 22.0001 12.6611 21.9688 13.1111 21.9084M2.26537 8.66675C2.15297 9.06394 2.06477 9.46536 2 9.86901M2.03457 13.5381C2.10487 13.9381 2.19644 14.3343 2.30852 14.7245M3.83292 17.9963C4.07124 18.3497 4.3296 18.69 4.6071 19.0147M7.42857 21.3607C7.78228 21.5632 8.15042 21.7464 8.53228 21.9084\"\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 RotateClockwise(props: RotateClockwiseProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  RotateClockwise,\n  RotateClockwise as RotateClockwiseIcon,\n  type RotateClockwiseProps,\n  type RotateClockwiseProps as RotateClockwiseIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "rotate",
      "redo",
      "turn"
    ]
  }
}