There’s two main parts to adding Depict UI Search to your site:

  1. Adding a search field or button to your site
  2. Adding a search results page to your site

This will result in the following flow for the user:

πŸ‘‡ 1. The user clicks on the search button or search field.



A search button

πŸ‘‡ 2. The search modal opens, this is what the user sees while typing a query.

Modal V2, Click to enlarge

Classic modal, click to enlarge

The SearchModal can either align to the SearchField that was used to open it, an arbitrary element, or the center of the screen.

You can choose which of the SearchModal variants you want to use. The v2 modal is the default, follow these steps to use the classic one.

The SearchPage which displays the results along with sorting options, filters and search recommendations