---
title: "Rain animated icon"
description: "Rain animated icon (Weather). Light: three streaks fall 2.6 units in a short stagger and fade, then reappear under the cloud. Strong: the cloud lifts as it wrings, the streaks shoot 4.4 units in a tight burst, and the cloud settles back."
canonical: https://generativeicons.com/icons/rain/
---

# Rain animated icon

Light: three streaks fall 2.6 units in a short stagger and fade, then reappear under the cloud. Strong: the cloud lifts as it wrings, the streaks shoot 4.4 units in a tight burst, and the cloud settles back.

- Id: `rain`
- Category: Weather
- Search terms: rainy, raining, rainfall, showers, drizzle, precipitation, downpour, rain cloud, wet weather, monsoon
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/rain.lottie (dotLottie, 5625 bytes, sha256 c8bda98425ca304406ad2fe9e8af1f74f9f8942e85be892c63f10c760e22b220)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add rain
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/rain.mjs';

export function RainIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/rain.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/rain/ · https://generativeicons.com/api/icons/rain
