Widget templates

Sitecore Search widgets are dynamic components added to a page or an email message to deliver specific experiences. The primary purpose of a widget is to display content from Search. Unlike content personalization widgets, which only display previously configured content, merchandising widgets can modify data requests based on context or user interactions.

The SearchJS SDK for React package includes the following widget templates that can be instantiated only with a rfk_id. At runtime, the JS SDK requests data for the widgets and supplies them with data required for configuration and display.

Note

Search results, preview search and recommendation widgets are not included in the JS SDK because they need functional React components to be associated with them.

The JS SDK only provides query hooks and high order functions that you can use to create your component or template.

Anatomy of a basic recommendation widget template

Do you have some feedback for us?

If you have suggestions for improving this article,