Skip to content
JS
Package

react-otp-input

A fully customizable, one-time password input component for the web built with React

v3.1.1MITESM + CommonJSTypes: Bundled
$ npm install react-otp-input

Key numbers

As of 25 Sept 2026
Weekly downloads
265.4k
+36% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v3.1.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 434.9k (2 Jun 2026)Low 135.4k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

265,399 downloads last week, 1,234,633 in the last month. The 12-month change of +36% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.1.1
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
138 kB
Dependencies (0)
None
Peer dependencies (2)
reactreact-dom
npm install react-otp-input
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-otp-input@3.1.1/
  • unpkghttps://unpkg.com/react-otp-input@3.1.1/
  • esm.shhttps://esm.sh/react-otp-input@3.1.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.