Mammoth Templates logomammoth templates

Home / React & Next.js / Boilerplate

Video preview

Auth Starter (Larkgate) is a complete authentication front end: sign in, sign up, forgot and reset password, email verification, a six-digit two-step screen and a route-guarded account page. A mock auth service in js/auth.js (localStorage) makes every flow work today; replace that one file with your API. Framework-free vanilla JS organised like a React/Next.js app so it ports easily; it does not ship React or Next.js code.

The mock is for demos and is not secure.

Highlights

  • Seven working screens plus 404
  • Live password strength meter and validation
  • Route guard with return-to redirect
  • Dev inbox for mock email codes and links
  • Six-box code input with paste support
  • Generic SSO and passkey buttons, no brand logos
  • Light/dark themes, responsive 360-1920px, accessible
  • Works from file://, no dependencies, CC0