---
title: "Target animated icon"
description: "Target animated icon (Everyday controls). The reticle locks on. Light: the four ticks close in on the mark and stop with a hit, the ring tightens a beat after them and the centre dot pops as the lock lands, then the reticle releases back out with a small rebound. Strong: the ticks first swing a third of a quarter-turn off and open wide, searching, then snap back and close in harder, the ring tightens more, the dot pops bigger and everything settles in two beats."
canonical: https://generativeicons.com/icons/target/
---

# Target animated icon

The reticle locks on. Light: the four ticks close in on the mark and stop with a hit, the ring tightens a beat after them and the centre dot pops as the lock lands, then the reticle releases back out with a small rebound. Strong: the ticks first swing a third of a quarter-turn off and open wide, searching, then snap back and close in harder, the ring tightens more, the dot pops bigger and everything settles in two beats.

- Id: `target`
- Category: Everyday controls
- Search terms: crosshair, crosshairs, reticle, aim, lock on, bullseye, objective, focus point, pinpoint, precision
- 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/target.lottie (dotLottie, 4637 bytes, sha256 2f4a8e58541d96fb572bab1a1bccb2fa9515d83afb4d3fe3bc0f013138fc01aa)
- License: MIT

## Install

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

## React

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

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