> ## Documentation Index
> Fetch the complete documentation index at: https://www.algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# autocomplete-plugin-recent-searches

> The Recent Searches plugin displays a list of the latest searches the user made.

Prefer using the Autocomplete widget from InstantSearch instead of the standalone Autocomplete library.
It integrates more closely with your search experience.
For more information,
see the API reference for [InstantSearch.js](https://www.algolia.com/doc/api-reference/widgets/autocomplete/js.md) or
[React InstantSearch](https://www.algolia.com/doc/api-reference/widgets/autocomplete/react.md).

The Recent Searches plugin displays a list of the latest searches the user made.

[See demos](https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/sandboxes.md#multiple-sources)

## Functions

* [`createRecentSearchesPlugin`](https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-plugin-recent-searches/createRecentSearchesPlugin)
* [`createLocalStorageRecentSearchesPlugin`](https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-plugin-recent-searches/createLocalStorageRecentSearchesPlugin)
