---
title: "Pin cluster animated icon"
description: "Pin cluster animated icon (Maps & navigation). Light: two small pins rise into place beside the main pin and fade in. Strong: they shoot up past their places and land, and the main pin hops in response; reverse sinks them away."
canonical: https://generativeicons.com/icons/pin-cluster/
---

# Pin cluster animated icon

Light: two small pins rise into place beside the main pin and fade in. Strong: they shoot up past their places and land, and the main pin hops in response; reverse sinks them away.

- Id: `pin-cluster`
- Category: Maps & navigation
- Search terms: multiple locations, locations, map markers, markers, map pins, places, points of interest, poi, nearby places, store locator
- Two states: clustered to expanded, played forward and back
- 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/pin-cluster.lottie (dotLottie, 8273 bytes, sha256 b3ee0d7592e94a24ed799cd48152fe05e3fee01ae18213611ac5a5721042b2d6)
- License: MIT

## Install

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

## React

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

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