Controlled OTP Input.
npx shadcn@latest add @shadcnblocks/input-otp-input-otp-standard-4
Sign in or get a license at Shadcn Blocks to see its source and install it.