/mi-password-input

It is a lightweight password input field that supports password generation through password managers. Use Lit.

Primary LanguageTypeScriptMIT LicenseMIT

mi-password-input

It is a lightweight password input field that supports password generation through password managers. Implemented as Web Components using Lit.

This project aims to comply with the passwordrules attribute.

Usage

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body>
    <form>
      <mi-password-input
        minlength="4"
        maxlength="6"
        required="true"
      ></mi-password-input>
      <input type="submit" />
    </form>
    <script src="https://unpkg.com/mi-password-input/dist/mi-password-input.umd.js"></script>
  </body>
</html>