{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-cloud-sun-rain",
  "type": "registry:ui",
  "title": "Cloud Sun Rain Icon",
  "description": "Cloud sun rain icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/cloud-sun-rain/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/cloud-sun-rain.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 CloudSunRainProps = IconProps<keyof typeof animations>;\n\nconst rainAnimation: Variants = {\n  initial: { y: 0, opacity: 1 },\n  animate: (i: number = 0) => ({\n    y: [0, 1, -1, 0],\n    opacity: [1, 0, 0, 1],\n    transition: {\n      duration: 0.8,\n      times: [0, 0.4, 0.4, 1],\n      ease: ['easeIn', 'linear', 'easeOut'],\n      repeat: Infinity,\n      delay: i * 0.3,\n    },\n  }),\n};\n\nconst animations = {\n  default: (() => {\n    const animation: Record<string, Variants> = {\n      path1: {},\n      path2: {},\n      group: {},\n      path3: rainAnimation,\n      path4: rainAnimation,\n    };\n\n    for (let i = 1; i <= 4; i++) {\n      animation[`line${i}`] = {\n        initial: { opacity: 1, scale: 1 },\n        animate: {\n          opacity: [0, 1],\n          pathLength: [0, 1],\n          transition: {\n            duration: 0.6,\n            ease: 'easeInOut',\n            delay: (i - 1) * 0.15,\n          },\n        },\n      };\n    }\n\n    return animation;\n  })() satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CloudSunRainProps) {\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=\"M15.947 12.65a4 4 0 0 0-5.925-4.128\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path d=\"M7 19v2\" variants={variants.path3} custom={0} />\n        <motion.path d=\"M11 20v2\" variants={variants.path4} custom={1} />\n      </motion.g>\n\n      <motion.line\n        x1=\"6.3\"\n        y1=\"6.3\"\n        x2=\"4.9\"\n        y2=\"4.9\"\n        variants={variants.line1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.line\n        x1=\"12\"\n        y1=\"4\"\n        x2=\"12\"\n        y2=\"2\"\n        variants={variants.line2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.line\n        x1=\"17.7\"\n        y1=\"6.3\"\n        x2=\"19.1\"\n        y2=\"4.9\"\n        variants={variants.line3}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.line\n        x1=\"20\"\n        y1=\"12\"\n        x2=\"22\"\n        y2=\"12\"\n        variants={variants.line4}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction CloudSunRain(props: CloudSunRainProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  CloudSunRain,\n  CloudSunRain as CloudSunRainIcon,\n  type CloudSunRainProps,\n  type CloudSunRainProps as CloudSunRainIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "weather",
      "partly",
      "rainfall"
    ]
  }
}