Components / InputOtp
InputOtp
Separate boxes for a one-time code.
Example
The component itself, running in WebAssembly, beside its code in a playground. Try it.
Code
use ravenrs::prelude::*;
fn input_otp() -> impl View {
let code = State::new(String::new());
InputOtp::new(code.binding(), 6)
}