---
title: "Search filter animated icon"
description: "Search filter animated icon (Search & discovery). The filter is applied to the results. Light: the magnifier takes a press, and the push passes down the result lines: the middle line narrows as it is reached, then the bottom one, each stopping dead at its funnel width; the magnifier springs back. Strong: a deeper press with a rebound narrows most of the way, then a second, smaller press clicks both lines to their final widths. The widths never overshoot; the funnel is kept."
canonical: https://generativeicons.com/icons/search-filter/
---

# Search filter animated icon

The filter is applied to the results. Light: the magnifier takes a press, and the push passes down the result lines: the middle line narrows as it is reached, then the bottom one, each stopping dead at its funnel width; the magnifier springs back. Strong: a deeper press with a rebound narrows most of the way, then a second, smaller press clicks both lines to their final widths. The widths never overshoot; the funnel is kept.

- Id: `search-filter`
- Category: Search & discovery
- Search terms: advanced search, faceted search, facets, filter results, refine search, narrow search, search options, search criteria, filtered results, narrow results
- Two states: unfiltered to filtered, 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/search-filter.lottie (dotLottie, 6306 bytes, sha256 f773633a026a097bab7067aab27f669010b654a1ed6aee9ee298523804213460)
- License: MIT

## Install

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

## React

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

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