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.
A string representing the URL to reset the password.
An optional callback function that is called when the user clicks the sign-in link.
Example Usage
Reference:
- Demo Next.js project source code
- ForgotPassword page demo source code
forgot-password.tsx