{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-redo-2",
  "type": "registry:ui",
  "title": "Redo 2 Icon",
  "description": "Redo 2 icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/redo-2/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/redo-2.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 Redo2Props = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: { rotate: 0 },\n      animate: {\n        rotate: [0, 10, 0],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n    curve: {},\n    head: {},\n  } satisfies Record<string, Variants>,\n  draw: {\n    group: {},\n    curve: {\n      initial: { pathLength: 1 },\n      animate: {\n        pathLength: [0, 1],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    head: {\n      initial: { pathLength: 1, opacity: 1 },\n      animate: {\n        pathLength: [0, 1],\n        opacity: [0, 1],\n        transition: { duration: 0.25, delay: 0.4, ease: 'easeOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: Redo2Props) {\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      {...props}\n    >\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M13 20H9.5A5.5 5.5 0 0 1 4 14.5A5.5 5.5 0 0 1 9.5 9H20\"\n          variants={variants.curve}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"m15 14 5-5-5-5\"\n          variants={variants.head}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Redo2(props: Redo2Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Redo2,\n  Redo2 as Redo2Icon,\n  type Redo2Props,\n  type Redo2Props as Redo2IconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "undo",
      "rerun",
      "history"
    ]
  }
}