> For the complete documentation index, see [llms.txt](https://docs.cometh.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cometh.io/integrations/react-hooks.md).

# React hooks

## Install

```
npm i @cometh/connect-react-hooks
```

## Note

The hooks will throw an error if it is used outside of a `ConnectProvider`. Ensure that your component tree includes `ConnectProvider` to provide the necessary context.
