Skip to content

Components · Forms

Input OTP

One drawn box per digit for a short one-time code, such as the sign-in code Listening Room sends by email.

Terminal
npx shadcn add @fineliner/input-otp

Sign-in code

Empty

Sent to [email protected]. It works for ten minutes.

States

Partly filled
4
1
8
Filled
4
1
8
2
0
5
Invalid
4
1
8
2
5
0
Disabled
4
1
8
2
0
5

Variants

Four digits