Skip to content

yunsii/use-otp-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Home, End, 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