An OTP (one-time password) or OTC (one-time code) input component bootstrapped with Create React App + TypeScript.
- Install Yarn.
- Clone the app:
git clone git@github.com:dominicarrojado/react-typescript-otp-input.git
- Install dependencies:
cd react-typescript-otp-input
yarn install
- Run the development server:
yarn start
- Open http://localhost:3000 to view it in the browser.
yarn test
- Build static files:
yarn build
- The
build
directory can be served by any static hosting service or CDN.
Learn how to build this OTP input here.