Guides / Building Search UI / UI & UX patterns

Injecting content between hits

Angular InstantSearch is deprecated. Please use InstantSearch.js instead. For more information, see Migrating from Angular InstantSearch.

For now, content injection is only available with React InstantSearch v6. You can vote on this open issue to express interest for content injection in Angular InstantSearch, and help prioritize the creation of this guide.

Content injection consists of inserting data between search results. This pattern can be helpful in a variety of use cases:

  • Displaying promotional or editorial content based on the search parameters, like the query or active refinements
  • Inserting promoted brand banners between hits
  • Showing customized suggestions based on the user profile

Screenshot showing editorial content injected between regular hits