The Controlled example from the Input OTP docs.
npx shadcn@latest add @hextaui/input-otp-controlled
input-otp-controlled