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

2.0.2 • Public • Published

Login

NPM npm (scoped) npm bundle size

Customizable React login component that validates against a default or custom Zod schema.

login component

Features

  • Displays and handles client and serverside errors
  • Custom fields and schema
  • Show a success component and/or provide an onSuccess function to redirect, set state, etc.
  • Show social logins either above or below email login with optional separator
  • Custom header/footer
  • Loader (default or custom)
  • Show a link to registration
  • Show a forgot password link
  • Client router support for links
  • Toast support

Install

npm install @unleashit/login

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

Documentation

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

Demo

https://npm-library-demo.vercel.app/login

Package Sidebar

Install

npm i @unleashit/login

Weekly Downloads

131

Version

2.0.2

License

MIT

Unpacked Size

119 kB

Total Files

45

Last publish

Collaborators

  • unleashit