JSFiddle - React, Tailwind, and code Playground
HTML
<form autocomplete="off">
<label for="otp">OTP code</label>
<input id="otp" type="text" name="otp">
<label for="new-password">new password</label>
<input type="password" id="new-password" name="new-password" autocomplete="new-password">
<label for="repeat-password">repeat password</label>
<input type="password" id="repeat-password" name="repeat-password" autocomplete="new-password">
<button type="submit">set new password</button>
</form>