Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@unleashit/forgot-password

unleashit89MIT2.0.4TypeScript support: included

Responsive forgot password and reset components for React with custom fields.

forgot password component, password reset, responsive, custom fields, react, npm, ui components, ui library, typescript

readme

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