Rust/UI component that displays an OTP input.
use leptos::prelude::*; use crate::components::ui::input_otp::{InputOTP, InputOTPSlot}; #[component] pub fn DemoInputOtp() -> impl IntoView { view! { <InputOTP attr:id="otp-container"> <InputOTPSlot attr:maxlength="1" /> <InputOTPSlot attr:maxlength="1" /> <InputOTPSlot attr:maxlength="1" /> <InputOTPSlot attr:maxlength="1" /> <InputOTPSlot attr:maxlength="1" /> <InputOTPSlot attr:maxlength="1" /> </InputOTP> } }
# Coming soon :)
// Coming soon 🦀