Enter OTP Code
We will send a 4 digit code to your phone, it will auto
verify once entered.
Verified and Secure
01 const [code, setCode] = useState(""); 02 const [isVerified, setVerified] = useState(false); 03 04 const handleVerify = async (otp) => { 05 if (otp ==="4545") { 06 await morphToSuccess(); 07 setVerified(true); 08 } else { 09 triggerShakeError(); 10 } 11 };
Interactive State Machine