Hit and Hits

The Hits component displays a list of search results. Each individual result is a Hit.

The Hit component comes with no parameters, slots, or variants configured. The Hits component comes with:

  • Hits Parameter: This corresponds to the <hits> widget provided by Algolia. Through this parameter you can display a list of results.
  • hitComponent The hitComponent slot allows the Hit component to be added into a composition. Additional components can be configured to appear in the slot.

There are no default configurations for Variants.

Learn more about configuring components

When you add the Hits component to a composition, the parameter doesn't need any additional configuration. Additional settings can be specified within your application code.