An open API service indexing awesome lists of open source software.

https://github.com/cameronbass/honeycrisp

A crispy input for numerals
https://github.com/cameronbass/honeycrisp

2fa 2factor authenticator input javascript mfa number-input otp

Last synced: 8 months ago
JSON representation

A crispy input for numerals

Awesome Lists containing this project

README

          

# Honeycrisp   npm version [![](https://data.jsdelivr.com/v1/package/npm/honeycrisp/badge)](https://www.jsdelivr.com/package/npm/honeycrisp) [![](https://img.shields.io/npm/dm/honeycrisp.svg)](https://www.npmjs.com/package/honeycrisp)




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](https://user-images.githubusercontent.com/13616332/208418517-5ac9117f-d81e-4b97-b191-bf30782ca563.gif)

Demo

Give it a try -> [Codepen](https://codepen.io/cambass23/pen/wvxwJKY)

Installation

Install with NPM:
```bash
$ npm install honeycrisp --save
```

Install with Yarn:
```bash
$ yarn add honeycrisp
```

Usage

```html


```

```js
Honeycrisp.create('.honeycrisp');
```
You can use any classname you would like to locate the element for Honeycrisp to place the input.

Options

```js
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