Input OTP

Input palette · 32px slots · 14px desktop / 16px mobile

Dark

On page background

Check the code and try again.

Check the code and try again.

Focus / position check

Invalid + focus / position check

Check the code and try again.

Check the code and try again.

Check the code and try again.

On card background

Check the code and try again.

Check the code and try again.

Focus / position check

Invalid + focus / position check

Check the code and try again.

Check the code and try again.

Check the code and try again.

Composition

Fill width · 352px card

Check the code and try again.

One input and one Tab stop. Paste and one-time-code autofill supported. Hover matches resting. Focus marks the active slot; errors keep their message. Static caret respects reduced motion.

Back to StoryLite