This is the React InstantSearch v7 documentation.
If you’re upgrading from v6, see the upgrade guide.
If you were using React InstantSearch Hooks,
this v7 documentation applies—just check for necessary changes.
To continue using v6, you can find the archived documentation.
Signature
Import
JavaScript
About this widget
<Index>
is the provider component for an Algolia index.
It’s useful when building interfaces that target multiple indices such as federated searches.
The position of <Index>
in the widget tree affects which search parameters apply.
Widgets that create search parameters forward them to their children <Index>
widgets.
Examples
JavaScript
Props
The main index to search into.
JavaScript