---
title: "Location animated icon"
description: "Location animated icon (Interface). The pin drops onto its place. Light: the rigid pin lifts, drops and lands on its tip with a hit and a small rebound, and a ground ripple spreads out from the tip and fades. Strong: a higher drop, a bounce and a second, smaller landing, with a ripple on each contact."
canonical: https://generativeicons.com/icons/location/
---

# Location animated icon

The pin drops onto its place. Light: the rigid pin lifts, drops and lands on its tip with a hit and a small rebound, and a ground ripple spreads out from the tip and fades. Strong: a higher drop, a bounce and a second, smaller landing, with a ripple on each contact.

- Id: `location`
- Category: Interface
- Search terms: map pin, pin, gps, place, address, map marker, marker, geolocation, locate, drop pin, whereabouts, destination
- 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/location.lottie (dotLottie, 3731 bytes, sha256 3972b02564db4a7747cb6902a7b82c9b7ed927649b87d7ccdf866f25a1ecdacf)
- License: MIT

## Install

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

## React

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

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