Ross ROSS = Recommend OSS · open-source software intelligence for agents

guilhermerodz/input-otp

One time passcode Input. Accessible & unstyled. observed · 2026-08-28

github.com/guilhermerodz/input-otp · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

81/100

  • Activity 99
  • Release rhythm 66
  • Longevity 66
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 932
  • days_rel: 15
  • days_push: 7
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

3203 stars · 87 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

input-otp is an accessible, unstyled React component for one-time passcode input that renders a single invisible real text input with custom UI drawn on top. It preserves native browser behaviors like SMS autofill, screen reader support, undo, and full clipboard support that multi-input OTP approaches break.

Use cases

  • build a 6-digit verification code input in React
  • add SMS OTP autofill support to a login form
  • create an accessible 2FA code field for screen readers
  • style a custom OTP input with shadcn/ui
  • support paste and undo in a one-time password field
  • implement MFA code entry with full keyboard support

When to choose

  • you need an OTP input in a React app with full accessibility
  • you want SMS autofill (autocomplete=one-time-code) to actually work
  • you need complete styling control over the passcode UI
  • you want native clipboard, undo, and keyboard behavior out of the box

When to avoid

  • your project is not React-based
  • you need a fully styled, batteries-included OTP component with no custom markup
  • you need OTP generation or verification logic rather than just the input UI

Facets

library · maturity stable

ui-components form-handling frontend-framework web-development frontend security accessibility cross-platform otp 2fa react-component unstyled sms-autofill headless-ui verification-code web-server nodejs

5 sources

Member repositories

RepositoryRoleHealth v2
guilhermerodz/input-otpmain81

For agents

markdown · JSON · MCP: product_card(name="guilhermerodz/input-otp")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem