Skip to content

PIN Input

One input per character for PINs and one-time codes: typing moves on, paste and SMS autofill spread over the positions.

Styled with CSS Tailwind

One-time code

Otp lets phones fill the code from a text message; a pasted code spreads over the positions. Filled positions get data-filled and the whole input data-complete, styled with data-[filled]: and group-data-[complete]:.

Value:

Masked PIN

Mask hides the digits; Placeholder marks the empty positions.

An unhandled error has occurred. Reload 🗙