@unleashit/forgot-password
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Forgot Password

NPM npm (scoped) npm bundle size

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.

forgot password component

Features

  • 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

Install

npm install @unleashit/forgot-password

Required peer dependencies: react, react-hook-form, @hookform/resolvers and zod.

Documentation

https://unleashit.github.io/npm-library/components/forgotPassword

Demo

https://npm-library-demo.vercel.app/forgot-password

Package Sidebar

Install

npm i @unleashit/forgot-password

Weekly Downloads

119

Version

2.0.2

License

MIT

Unpacked Size

747 kB

Total Files

51

Last publish

Collaborators

  • unleashit