# Use Inkwell with React

> Wrap the editor in a component with refs and effects.

Source: https://helpdox.fekbd.com/docs/inkwell/frameworks/use-inkwell-with-react/

Wrap the editor in a component with refs and effects. Follow the steps below — it takes just a few minutes.

## Before you begin

- Node.js 18 or newer
- A project that uses npm, pnpm or yarn

## Steps

1. 1Installnpm install inkwell @inkwell/react
2. 2Render the component
3. 3Access the editorWith a ref for advanced APIs.

Tip

Avoid re-creating the editor on every render — keep options stable.

## Still stuck?

Search existing GitHub issues first. When you open a new one, include your Inkwell version, browser and a minimal example on CodeSandbox.
