{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-cloud-rain",
  "title": "Cloud Rain Icon",
  "description": "Cloud rain icon component.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "@animate-ui/icons-icon"
  ],
  "files": [
    {
      "path": "registry/icons/cloud-rain/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 CloudRainProps = IconProps<keyof typeof animations>;\n\nconst rainAnimation: Variants = {\n  initial: {\n    opacity: 1,\n  },\n  animate: {\n    opacity: [1, 0.4, 1],\n    transition: {\n      duration: 1.2,\n      repeat: Infinity,\n      ease: 'easeInOut',\n    },\n  },\n};\n\nconst animations = {\n  default: {\n    group: {\n      animate: {\n        transition: {\n          staggerChildren: 0.3,\n        },\n      },\n    },\n    path1: {},\n    path2: rainAnimation,\n    path3: rainAnimation,\n    path4: rainAnimation,\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CloudRainProps) {\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      initial=\"initial\"\n      animate={controls}\n      {...props}\n    >\n      <motion.path\n        d=\"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path d=\"M16 14v6\" variants={variants.path2} />\n        <motion.path d=\"M8 14v6\" variants={variants.path3} />\n        <motion.path d=\"M12 16v6\" variants={variants.path4} />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction CloudRain(props: CloudRainProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  CloudRain,\n  CloudRain as CloudRainIcon,\n  type CloudRainProps,\n  type CloudRainProps as CloudRainIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/cloud-rain.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "weather",
      "rainfall"
    ]
  },
  "type": "registry:ui"
}