---
title: "Partly cloudy animated icon"
description: "Partly cloudy animated icon (Weather). The sun breaks through the cloud. Light: a wave of light sweeps clockwise from the lowest ray toward the cloud: each ray pulls back into the disc and shines out again in turn while the disc swells once; as the last rays reach the cloud it is pushed aside, away from the sun, and drifts back with one small rebound. Strong: the rays shoot out past their length and spring back in turn while the crown turns a little with the light, the disc swells harder, and the cloud is pushed further and settles in two beats."
canonical: https://generativeicons.com/icons/partly-cloudy/
---

# Partly cloudy animated icon

The sun breaks through the cloud. Light: a wave of light sweeps clockwise from the lowest ray toward the cloud: each ray pulls back into the disc and shines out again in turn while the disc swells once; as the last rays reach the cloud it is pushed aside, away from the sun, and drifts back with one small rebound. Strong: the rays shoot out past their length and spring back in turn while the crown turns a little with the light, the disc swells harder, and the cloud is pushed further and settles in two beats.

- Id: `partly-cloudy`
- Category: Weather
- Search terms: partly sunny, mostly sunny, sun and cloud, sun behind cloud, sunny intervals, fair weather, weather forecast, mild weather, sun cloud
- 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/partly-cloudy.lottie (dotLottie, 5408 bytes, sha256 f9357aeed7870d8304460cbf505bdc7c2ddcf66232d53120b3ecfad22c5cf5e3)
- License: MIT

## Install

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

## React

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

export function PartlyCloudyIcon() {
  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/partly-cloudy.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/partly-cloudy/ · https://generativeicons.com/api/icons/partly-cloudy
