{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "loader-pinwheel-icon",
  "type": "registry:ui",
  "title": "Loader Pinwheel Icon",
  "description": "Loader pinwheel icon component.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/loader-pinwheel/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 LoaderPinwheelProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: {\n        rotate: 0,\n      },\n      animate: {\n        rotate: 360,\n        transition: {\n          duration: 1.5,\n          ease: 'linear',\n          repeat: Infinity,\n          repeatType: 'loop',\n        },\n      },\n    },\n    circle: {},\n    path1: {},\n    path2: {},\n    path3: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: LoaderPinwheelProps) {\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.circle\n          cx={12}\n          cy={12}\n          r={10}\n          variants={variants.circle}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0\"\n          variants={variants.path1}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6\"\n          variants={variants.path2}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6\"\n          variants={variants.path3}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction LoaderPinwheel(props: LoaderPinwheelProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  LoaderPinwheel,\n  LoaderPinwheel as LoaderPinwheelIcon,\n  type LoaderPinwheelProps,\n  type LoaderPinwheelProps as LoaderPinwheelIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/loader-pinwheel.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "loading",
      "wait",
      "busy",
      "progress",
      "throbber",
      "spinner",
      "spinning",
      "beach ball",
      "frozen",
      "freeze"
    ]
  }
}