honeycrisp

1.0.7 • Public • Published

Honeycrisp   npm version  

A Crispy Input For Numbers

Honeycrisp is a unique number input created to aid standard two-factor auth login flows by providing an enhanced input for One-Time Passwords.

Two-Factor Authentication

2022-12-19 06 42 39

Demo

Give it a try -> Codepen

Installation

Install with NPM:

$ npm install honeycrisp --save

Install with Yarn:

$ yarn add honeycrisp

Usage

<div class="honeycrisp"></div>
Honeycrisp.create('.honeycrisp');

You can use any classname you would like to locate the element for Honeycrisp to place the input.

Options

Honeycrisp.create('.honeycrisp', {
  inputName: "name",
  inputClass: "input-class",
  WrapperClass: "wrapper-class",
  inputCount: 6,
});

How can I help?

Honeycrisp is open source and contributions from the community are encouraged! No contribution is too small.

License

MIT

Dependents (0)

Package Sidebar

Install

npm i honeycrisp

Weekly Downloads

29

Version

1.0.7

License

MIT

Unpacked Size

10.6 kB

Total Files

11

Last publish

Collaborators

  • cambass23