Skip to main content
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 Hook

A React Hook that lets you use an InstantSearch connector in a React component. Use this for connecting your own connectors with React InstantSearch.

Examples

Parameters

Connector
required
The InstantSearch connector to use. To learn more, see Building a custom connector.
object
Props to pass to the InstantSearch widget.
object
Adds other properties like $$widgetType to the instantiated widget.

Returns

object
The connector API, such as state and functions.
Last modified on May 19, 2026