Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

input-otp

Accessible one-time password input component for React with mobile support.

UI components and icons npm MIT

Used in agent projects
529
4.2% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#10 of 75
by use in those projects
Downloads
29.8M
npm, last 7 days, input-otp
GitHub stars
3,268
last push Sep 10, 2026

How input-otp is used

input-otp is a dependency in 529 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (4.2%), #10 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use Class Variance Authority (99.6%), clsx (98.9%), Tailwind Merge (98.9%). It is more common in projects set up for Roo Code (10.6%) than for Gemini CLI (3.0%).

Often used with input-otp

Class Variance Authority99.6% of input-otp projects · 7.1× more than average
clsx98.9% of input-otp projects · 5.6× more than average
Tailwind Merge98.9% of input-otp projects · 5.9× more than average
Lucide React98.7% of input-otp projects · 5.0× more than average
Radix UI95.5% of input-otp projects · 8.0× more than average
cmdk94.5% of input-otp projects · 17.5× more than average
React Day Picker93.8% of input-otp projects · 17.6× more than average
Recharts93.8% of input-otp projects · 11.5× more than average

By coding agent

Cursor6.9% of projects set up for it
Claude Code3.7% of projects set up for it
GitHub Copilot3.3% of projects set up for it
OpenAI Codex4.0% of projects set up for it
Devin Desktop6.6% of projects set up for it
Gemini CLI3.0% of projects set up for it
Roo Code10.6% of projects set up for it
Kiro6.2% of projects set up for it

Share of public repos configured for each agent that list input-otp as a dependency.

Install

Packagenpm install input-otp
Main stacksNext.js (247), TypeScript / JavaScript (243), PHP (23), Python (12)
Example projectsmiantiao-me/bm.md, andrelandgraf/aileen, fountain-ink/app, suhailkakar/prediction-market-starter-kit, Some1Uknow/learn-solana

Alternatives to input-otp

All ui components and icons

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Lucide React npm
Comprehensive icon library with consistent design for React applications.
2,519 (19.8%) 108M 24.9K ISC
Class Variance Authority npm
Type-safe CSS class composition for component variants and styling.
1,791 (14.1%) 66.3M 6,903 Apache-2.0
Radix UI npm
Unstyled, accessible component primitives for building design systems.
1,519 (12.0%) 182M 19.4K MIT
Sonner npm
Opinionated toast notification component for React applications.
1,025 (8.1%) 49.6M 13K MIT
React Icons npm
Popular icon packs imported as React components with ES6.
688 (5.4%) 8.8M 12.7K MIT
cmdk npm
Command menu component library for React applications.
687 (5.4%) 42.2M 13K MIT
React Day Picker npm
Flexible and customizable date picker component for React.
675 (5.3%) 42.8M 6,859 MIT
Vaul npm
Unstyled, accessible drawer component for React with smooth animations.
582 (4.6%) 35M 8,638 MIT
Is input-otp right for your project? Ask AgentGid →