Add predictive search to your theme

You can add predictive search to your theme so that suggested results appear immediately as you type into the search field. Predictive search helps customers articulate and refine their search queries, and provides new ways for them to explore an online store. It also lets them quickly browse matches without having to leave their current page to see a separate list of search results.

Example of search dropdown showing recommended products

Predictive search supports suggestions for products, collections, queries, pages, and articles.

Beforeimplementing predictive search in your theme, it's important to be familiar withhow suggestions are generated,current API limitations, and theUX guidelines.