A crispy input for 2FA
npm install honeycrisp
Honeycrisp is a unique number input created to aid standard two-factor auth login flows by providing an enhanced input for One-Time Passwords.
Give it a try -> Codepen
Install with NPM:
``bash`
$ npm install honeycrisp --save
Install with Yarn:
`bash`
$ yarn add honeycrispUsage
`html`
`js`
Honeycrisp.create('.honeycrisp');
You can use any classname you would like to locate the element for Honeycrisp to place the input.
`js``
Honeycrisp.create('.honeycrisp', {
inputName: "name",
inputClass: "input-class",
WrapperClass: "wrapper-class",
inputCount: 6,
});
Honeycrisp is open source and contributions from the community are encouraged! No
contribution is too small.
MIT