contigen / otp-input

An event-based, numbers-only, one-time password component with SMS autofill support using the WebOTP API

Home Page:https://otpinput.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One-time-password Component

An OTP input written in React + TS.

Devoid of useState calls. All you get from a regular input:

  • Paste works excellently, inputting only numbers from the clipboard.
  • Focus works as expected, and updates per the in-line edit.

Autofill from SMS using the WebOTP API to boot.

About

An event-based, numbers-only, one-time password component with SMS autofill support using the WebOTP API

https://otpinput.vercel.app


Languages

Language:TypeScript 70.8%Language:CSS 18.0%Language:JavaScript 6.1%Language:HTML 5.1%