⚠️ After March 18, 2024, the FastStore documentation will be migrated to the Developer Portal. For more information, access the official release note.

Search

This feature enables customers to find their search easier.

Overview

This Search feature is based on Autocomplete. Autocomplete is the functionality that displays previous search results based on current and previous searches. These results are presented in four different lists, which can be together or separated, depending on the customer's interaction. The existing sections are:

  • Last searches performed;
  • Search suggestion;
  • Product suggestion;
  • Most searched terms.

To know more, visit Autocomplete in VTEX Intelligent Search (opens in a new tab).


Usage

There is an available example of the usage of <SearchInput /> on our core (opens in a new tab) application.

You can add this component whenever it's needed. It's suggested to add it on Navbar.


Components