File size: 786 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
This example shows how to use an external autocomplete component with `react-instantsearch`
It uses [react-autosuggest](https://github.com/moroshko/react-autosuggest) as the autocomplete external component.
You will find two use cases:
* How to build an autocomplete displaying hits from different indices
* How to build @-mentions using [ant](https://ant.design) as the external component
## Clone the example
```
curl https://codeload.github.com/algolia/react-instantsearch/tar.gz/master | tar -xz --strip=2 react-instantsearch-master/examples/autocomplete
```
## Start the example
```sh
yarn install --no-lockfile
yarn start
```
Read more about `react-instantsearch` [in our documentation](https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/).
|