use-otp-input
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

English | 简体中文

use-otp-input

NPM version

🚀 Awesome React Hook for One-time password (OTP) Input

Live Demo

Features

  • 🦄 Input more intuitive, just like plain input element, including paste text
  • ✨ Support Backspace and Delete keys, even shortcut with Ctrl key
  • 🎈 Support move caret by ArrowLeft and ArrowRight keys

Build & Publish

  • npm run build
  • npx changeset
  • npx changeset version
  • git commit
  • npx changeset publish
  • git push --follow-tags

changeset prerelease doc

License

MIT License © 2023 Yuns

Dependents (0)

Package Sidebar

Install

npm i use-otp-input

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

16.5 kB

Total Files

8

Last publish

Collaborators

  • theprimone