React text input component with invalid character highlighting and URL, email, and number presets.
HTML JavaScript CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo demo tweaks Feb 9, 2017
npm-scripts initial commit Nov 23, 2015
src
.babelrc initial commit Nov 23, 2015
.eslintrc initial commit Nov 23, 2015
.gitignore initial commit Nov 23, 2015
LICENSE Initial commit Nov 23, 2015
README.md README tweaks Feb 19, 2017
package.json 1.0.3 Feb 27, 2017
webpack.config.js initial commit Nov 23, 2015

README.md

TxRegionsInput — Supernatural text input

The TxRegionsInput component is a React text input component that can highlight sub-content based on built-in or custom markers and / or highlight invalid characters based on the built-in or custom validators. It ships with a variety of built-in markers and validators (e.g. URLs, email addresses, etc.). Custom markers and validators can be defined via RegExps or string-parsing functions. DOM hooks are provided for styling based on the focus state and validity of the input.