This repository contains an example which adds login, registration, account recovery (password reset), account verification (email verification), social sign in, multi-factor authentication to your NextJS app with just a few lines of code, using the open source Ory Kratos project!
For more details on how to do everything from scratch, please check out the accompanying blog post: Add Authentication to your Next.js / React Single Page Application (SPA)
Check this app out live at kratos-nextjs-react-example.vercel.app.