Searchstax RelatedSearchesWidget Angular

The SearchstaxRelatedSearchesWidget displays related searches.


Import the component:

import { SearchstaxRelatedSearchesWidget } from '@searchstax-inc/searchstudio-ux-angular';

Add to template:



  • relatedSearchesURL: URL for fetching related searches.
  • relatedSearchesAPIKey: API key for related searches.
  • templateOverride: TemplateRef to override default UI.


  • relatedData: Object containing related searches data.
  • context: Component instance reference.


  • executeSearch(): Triggers new search for a related query.
  • attachObservables(): Subscribes to search data observables.

Template Binding Properties

The templateOverride provides:

  • relatedData: Related searches data object.
  • executeSearch: Method to trigger new search.
  • context: Component instance context.

See Example of Related Searches Widget for Angular


Do not hesitate to contact the SearchStax Support Desk.