Skip to content
WunderUI
All effectsForms

OTP Cascade

Focus jumps from box to box as each digit is typed, for one-time codes.

Pure CSSFormsPro

Meant for

OTP Field

Usage

On a OTP Field

Each field takes focus, fills, and hands on. The ring appears before the digit, which is the order it actually happens in when someone pastes a code. The class goes on the field row; each input carries its --wm-i.

The class is wm wm-otp-cascade — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.