mirko-san / mi-password-input

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

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

License:MIT License


Languages

Language:TypeScript 88.2%Language:HTML 11.8%