---
title: "Recent searches animated icon"
description: "Recent searches animated icon (Search & discovery). Light: the minute hand inside the lens swings back 60° and returns. Strong: it winds up, turns one full revolution backwards and the hour hand recoils before both settle."
canonical: https://generativeicons.com/icons/recent-searches/
---

# Recent searches animated icon

Light: the minute hand inside the lens swings back 60° and returns. Strong: it winds up, turns one full revolution backwards and the hour hand recoils before both settle.

- Id: `recent-searches`
- Category: Search & discovery
- Search terms: search history, past searches, previous searches, recently searched, last searched, search log, earlier searches, lookup history, query history
- 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/recent-searches.lottie (dotLottie, 4434 bytes, sha256 7b884d04985b589d67dfbf4c61855ccb0a04f4eff22cd98c84f4e029141514f3)
- License: MIT

## Install

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

## React

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

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