← All projects

Projects · 2021

react-inputs-validator

A simple validated input component for React with built-in email and password rules and configurable length limits. Published on npm.

Role
Library author
Year
2021
Stack
ReactJavaScriptnpm

What it is

Install with npm install react-inputs-validator, import ValidatedInput, set its type (email or password) and errorMessage, and optionally pass message, minLength and maxLength. The component handles the validation state for you.