{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-rewind",
  "type": "registry:ui",
  "title": "Rewind Icon",
  "description": "Rewind icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/rewind/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/rewind.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 RewindProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    back: {\n      initial: { x: 0 },\n      animate: {\n        x: [0, -1.5, 0],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    front: {\n      initial: { x: 0 },\n      animate: {\n        x: [0, -0.6, 0],\n        transition: { duration: 0.5, ease: 'easeInOut', delay: 0.05 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: RewindProps) {\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=\"M14.9974 15.5372C17.3245 17.218 18.4881 18.0583 19.461 17.9969C20.204 17.9499 20.8946 17.6007 21.3699 17.0315C21.9922 16.2863 21.9922 14.8575 21.9922 12C21.9922 9.14246 21.9922 7.71369 21.3699 6.96846C20.8946 6.39933 20.204 6.0501 19.461 6.00315C18.4881 5.94167 17.3245 6.78203 14.9974 8.46275\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.back}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M2.15512 12.9178C2.43749 13.6884 3.29078 14.3047 4.99737 15.5372C7.32449 17.218 8.48806 18.0583 9.46099 17.9969C10.204 17.9499 10.8946 17.6007 11.3699 17.0315C11.9922 16.2863 11.9922 14.8575 11.9922 12C11.9922 9.14246 11.9922 7.71369 11.3699 6.96846C10.8946 6.39933 10.204 6.0501 9.46099 6.00315C8.48806 5.94167 7.32449 6.78203 4.99737 8.46275C3.29078 9.6953 2.43749 10.3116 2.15512 11.0822C1.93788 11.675 1.93788 12.325 2.15512 12.9178Z\"\n        strokeLinejoin=\"round\"\n        variants={variants.front}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Rewind(props: RewindProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Rewind,\n  Rewind as RewindIcon,\n  type RewindProps,\n  type RewindProps as RewindIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "music",
      "media",
      "back",
      "skip",
      "speed"
    ]
  }
}