---
title: "Windsock animated icon"
description: "Windsock animated icon (Weather). A gust fills the windsock. Light: two wind lines streak in under the sock from the pole, one after the other; the gust snaps the drooping sock out nearly level, it flutters once in the wind and sags back to its droop with a small swing. Strong: two gusts in turn: the sock is blown out past level, flutters, is held up by the second gust, then drops and swings twice before it hangs still. The pole never moves."
canonical: https://generativeicons.com/icons/windsock/
---

# Windsock animated icon

A gust fills the windsock. Light: two wind lines streak in under the sock from the pole, one after the other; the gust snaps the drooping sock out nearly level, it flutters once in the wind and sags back to its droop with a small swing. Strong: two gusts in turn: the sock is blown out past level, flutters, is held up by the second gust, then drops and swings twice before it hangs still. The pole never moves.

- Id: `windsock`
- Category: Weather
- Search terms: wind direction, wind indicator, wind speed, wind cone, wind sleeve, airfield, airport, aviation
- 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/windsock.lottie (dotLottie, 6892 bytes, sha256 bb9bc79a92f836ed2bb03f3ca79d1eaf6bfce9c8912260d1ecb6bd46517b88e2)
- License: MIT

## Install

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

## React

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

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