---
title: "Search animated icon"
description: "Search animated icon (Essentials). The search finds something. Light: the magnifier glides out to the left, scanning, and comes back to land on its spot with a hit; the lens pops as it finds, and a glint draws on inside the lens and fades. Strong: it scans left and then right before landing, the lens pops harder with a rebound, and the glint snaps on."
canonical: https://generativeicons.com/icons/search/
---

# Search animated icon

The search finds something. Light: the magnifier glides out to the left, scanning, and comes back to land on its spot with a hit; the lens pops as it finds, and a glint draws on inside the lens and fades. Strong: it scans left and then right before landing, the lens pops harder with a rebound, and the glint snaps on.

- Id: `search`
- Category: Essentials
- Search terms: magnifying glass, magnifier, find, look up, lookup, query, seek, explore, search bar, search box
- 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/search.lottie (dotLottie, 4844 bytes, sha256 5968c027417622ace6b61b924c99e4baf0aeda45620537d8ecc0d77f7ca6a712)
- License: MIT

## Install

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

## React

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

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