SignIn Modal

A popup windows to make your user log in from everywhere.

  • Component: <SignInModal/>

  • Path: /components/layout/sign-in-modal.tsx

  • Import:

import { useSignInModal } from "@/components/layout/sign-in-modal";
Footer

Call this modal by using its custom hook:

The modal currently comes with 2 built-in login options:

  • Google Auth

  • Magic Links

You can easily one new ones from NextAuth's providersarrow-up-right by updating this Button section of the component:

Last updated