1.0.3 • Published 6 years ago

@citizensadvice/validation v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Validation npm (scoped)

Highlighting when users have filled out a form in an incorrect format.

Examples

<input class="text-input is-invalid" type="password" id="password" />

Installation

$ npm install @citizensadvice/validation

now import into your stylesheet...

@import '@citizensadvice/validation/index.scss';

You can also make use of the unpkg service, try adding the link below to the head of your HTML file

<link src="https://unpkg.com/@citizensadvice/validation@latest/build/validation.css" />