Floating-label input component for React.
Check out demo.html
for a live demo.
$ npm install react-floating-label-input --save
To include stylesheets, import index.css
file from the package directory.
var Input = require('react-floating-label-input');
React.render(<Input label="Email address" />, document.body);
React.render(<Input label="Password" type="password" />, document.body);
React.render(<Input label="Custom field" className="my-custom-class" />, document.body);
MIT @ Vadym Demedes (c)