React Form Package
Edit page
IntroductionInstallationFormSimple FormButtonFieldFieldWrapperRadioGroupSelectForm ValidationStateonFocus onChange onBlurState ManipulationCustom Error MessagesFeedback on disabled ButtonStylingDynamic FieldsDynamic Fields 2Dynamic Fields 3Bind Input FieldsBind Input Fields 2Third Party ComponentsFile UploadWhy

Introduction

npm  npm bundle size (minified + gzip)  Travis branch  Codecov branch  storybook

A declarative form component with inbuilt validation and state management

Install

$ npm i react-form-package -S

and import the components from react-form-package and you are ready to go.

import {
Form,
Field,
Button,
} from 'react-form-package';

react-form-package takes care about input validation, state management and user communication by using a declarative approach. react-form-package provides you with the logic and you are responsible for the styling. Write down how your form should look like in a similar struckture as plain HTML and react-form-package takes care of the rest.

But see for yourself:

Register
Email
Password
Confirm Password