Skip to content
JS
Package

react-auth-code-input

One-time password (OTP) React input component, uncontrolled, zero dependencies, fully tested.

v3.2.1, 8 Jul 2022MITESM + CommonJSTypes: BundledAuthentication and authorisationReact
$ npm install react-auth-code-input

Key numbers

As of 25 Sept 2026
Weekly downloads
28.9k
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v3.2.1
GitHub stars
126
35 forks
Open issues / PRs
7 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 65.5k (24 Mar 2026)Low 19.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

28,923 downloads last week, 165,185 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.2.1, 8 Jul 20224 years ago
First published
-
Last push to GitHub
19 Feb 2024948 days before the snapshot
Repository archived
Yes
Open issues
7
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
18

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
43 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install react-auth-code-input
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-auth-code-input@3.2.1/
  • unpkghttps://unpkg.com/react-auth-code-input@3.2.1/
  • esm.shhttps://esm.sh/react-auth-code-input@3.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@stytch/react57.3k-13 days agoESM + CommonJS-
apple-signin-auth155.5k-2 months agoCommonJS-
@clerk/expo142.7k-todayCommonJS-
@clerk/tanstack-react-start137k-todayESM only-
@stytch/nextjs36.1k-13 days agoESM + CommonJS-
@clerk/localizations724k-todayESM + CommonJS-
@clerk/themes365k-6 months agoESM + CommonJS-
@better-auth/expo644.6k-todayESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.