Installation
Prerequisites
Before installing EFX-Forms, ensure you have a React project set up with the required peer dependencies.
Install Package
Install EFX-Forms using npm:
npm install efx-forms
Install Peer Dependencies
EFX-Forms depends on the following peer dependencies. If they're not already in your project, install them:
npm install react effector effector-react lodash
Version Requirements:
| Package | Version |
|---|---|
| react | >=16.8.0 <20.0.0 |
| effector | >=23.0.0 <24.0.0 |
| effector-react | >=23.0.0 <24.0.0 |
| lodash | ^4.17.0 |
Verify Installation
Once installed, you can import EFX-Forms components in your React components:
import { Form, Field } from 'efx-forms';
The build outputs ESM syntax which works with modern bundlers (Vite, Webpack 5, Rollup).
Next Steps
Now that EFX-Forms is installed, check out the Quickstart guide to build your first form.