Overview
ForgotPassword component is a user interface element for handling the forgot password process. It includes steps for requesting a code by user e-mail and updating the password. It provides callbacks for handling the completion of the process and navigation to the sign-in page.
<ForgotPassword /> component request code step

<ForgotPassword /> component verify and password update step
Props
A callback function that is called when the forgot password process is successfully completed.
Reset password url used to redirect user to reset password page from e-mail.
It should contain a placeholder for the reset password code.
An optional callback function that is called when the user clicks the sign-in link.
Verification code that is sent to the users e-mail this parameter could be used to auto-fill OTP inputs by
getting them from query string.
Example Usage
Reference:
- Demo Next.js project source code
- ForgotPassword page demo source code
forgot-password.tsx