@citizensadvice/validation

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

Usage no npm install needed!

<script type="module">
  import citizensadviceValidation from 'https://cdn.skypack.dev/@citizensadvice/validation';
</script>

README

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" />