Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 400 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 400 Bytes

One-time-password Component

word cloud forming the text 'otp-input' in ASCII format

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.