Guides / Building Search UI / UI & UX patterns

Injecting content between hits

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 InstantSearch.js, 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

Did you find this page helpful?