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

2.0.1 • Public • Published

Signup

NPM npm (scoped) npm bundle size

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

signup 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 signup with optional separator
  • Custom header/footer
  • Loader (default or custom)
  • Show a link to login
  • Client router support for links
  • Toast support

Install

npm install @unleashit/signup

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

Documentation

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

Demo

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

Package Sidebar

Install

npm i @unleashit/signup

Weekly Downloads

86

Version

2.0.1

License

MIT

Unpacked Size

129 kB

Total Files

51

Last publish

Collaborators

  • unleashit