gform-react
v2.7.0
Published
Build generic forms with validations for React-based applications
Maintainers
Readme
GForm

build generic forms with validations for react-based applications.
it doesn't matter which UI library you're using, it only cares about the form and the inputs inside.
Pros
- Lightweight
- Based on native form and constraint validations (can also add custom and async validations)
- Can be used with any UI library that preserves native form controls (input, button, etc. can also be adjusted to non-native controls)
- Tree shakeable
- Accessibility semi-automatic (required inputs and invalid inputs automatically sets aria-required and aria-invalid)
- React Native support
- Supports React 19, Next.js 15
Docs
https://gform-react.onrender.com
Demo:
https://codesandbox.io/p/sandbox/gifted-elbakyan-fs5g2c
Installation
npm:
npm install gform-reactyarn:
yarn add gform-reactNOTE:
react >=16.8.0, react-dom >=16.8.0 are peer dependencies
