Customizable set of React forgot password components that validate against a default or custom Zod schema. Accepts custom fields and includes reset request, token submission and confirmation views as needed.
- Displays and handles client and serverside errors
- Custom fields and schema
- Show success components and/or provide onSuccess functions to redirect, set state, etc.
- Custom header/footer
- Loader (default or custom)
- Show a link to login instead
- Client router support for links
- Toast support
npm install @unleashit/forgot-password
Required peer dependencies: react, react-hook-form, @hookform/resolvers and zod.
https://unleashit.github.io/npm-library/components/forgotPassword