Guides / Building Search UI / Resources

UI and UX Patterns

You’re reading the documentation for Vue InstantSearch v3. Read our migration guide to learn how to upgrade from v2 to v3. You can still find the documentation for version 1 on our community website.

Highlighting and snippeting

Highlighting and snippeting are common UI patterns to focus your users’ attention on matches between their search query and results.


A common pattern in search is to implement a search box with an autocomplete as a first step of the search experience.

It might happen that you want to search across multiple indices at the same time to create federated searches experiences.

Query Suggestions

In order to help users with their search, Algolia provides a feature called query suggestions. This feature creates an index with the best queries done by the users. You can then use this index to propose suggestions to your users as they are typing into the searchBox. The great thing with this feature is that once you’ve configured the generation of the index, it’s just about querying another index and you can easily use multi-index search to for that.


You can use Algolia’s pagination settings to implement standard paging or retrieve specific record subsets that ignore page boundaries.

Infinite Scroll

The infinite list is a very common pattern to display a list of results. Most of the times this pattern comes with two variants:

with a button to click on at the end of the list of results with a listener on the scroll event that is called when the list of results reaches the end

We will see how we can leverage the geo search capabilities of Algolia with the geoSearch widget.


Algolia Places provides a fast, distributed, and easy way to use an address search autocomplete JavaScript library on your website.


OpenSearch is web standard that makes browsers aware of an underlying search engine on a website. By implementing this, browsers will let the users search into your web application directly from the URL bar (in Chrome for example) or in a dedicated search input (like in Firefox).

Did you find this page helpful?