1.0.1 • Published 3 years ago

colour-input v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Colour Input

To install run:

npm install colour-input

To use in your project, add a class of .colour-input to any HTML input you want to convert.

<input placeholder="First name" class="colour-input" />

Then in your JavaScript file import and call colour Input like this:

import colourInput from 'colour-input';

colourInput();

*Note: You will need to use a bundler like Parcel or Webpack to import the package like this.