How to use a search element
A search element is used to display the results of a search query. A search element cannot be used in isolation, but must be used together with an HTML element that is used to define the search query form.
To create a search form, you must:
- create a search query by using an HTML element
- create a search results view by using a search component
You reference both the HTML element and search component in a single presentation template. The search component is only rendered after a search query is run by a user.
- Search query examples
These are examples of search queries you can create by using an HTML element. - Search result examples
These are examples of how to design your search results.