@unleashit/login
v2.0.4
Published
Responsive login component for React with custom fields.
Downloads
28
Maintainers
Readme
Login
Customizable React login component that validates against a default or custom Zod schema.
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