OTP input component for entering one-time passwords and verification codes. Renders a series of single-digit input boxes that automatically advance focus as the user types.
Code length is the number of digits in the code.
Determines the size of the input.
Determines the spacing between the input digits.
Emits when the code is complete.
Emits when the error state is cleared.