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 used to define the search query form.
To create a search form:
- create a search query using an HTML element
- create a search results view using a search component
We reference both the HTML element and search component in a single presentation template. The search component is only rendered after a search query is executed by a user.
Parent: ElementsRelated: Enable search for web content