React Login Form with HTML5 Validation

An example of a React controlled component. By syncing the form data with the component state, we can alter the appearance of the form based on the validity of the fields. Form validation is handled by HTML5.

Author

Adam Fields

Demo

See the Pen React Login Form with HTML5 Validation by Adam Fields (@adamelliotfields) on CodePen.

source: https://codetea.com/