Skip to content

vadimdemedes/react-floating-label-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-floating-label-input

Floating-label input component for React.

Demo

Check out demo.html for a live demo.

Installation

$ npm install react-floating-label-input --save

To include stylesheets, import index.css file from the package directory.

Usage

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);

License

MIT @ Vadym Demedes (c)

About

Floating-label input component for React

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published