@citizensadvice/validation

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @citizensadvice/validation

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

4.65 kB

Total Files

8

Last publish

Collaborators

  • cnorthwoodcita
  • seymourski
  • marianayovcheva
  • mrdaniellewis
  • davidsauntson
  • davidrapson