🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place
Patterns

AuthForm

Multi-mode authentication form with login, register, and password reset.

Quick Preview

Welcome back

Sign in to your account


or

Don't have an account?

Installation

npm install lucide-react
// Copy from
src/components/patterns/AuthForm.tsx

Examples

Register mode

Create account

Start your free trial today

Already have an account?

Password reset

Reset password

We'll send you a link to reset it

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
mode'login' | 'register' | 'reset''login'Initial form mode
onModeChange(mode: AuthMode) => void-Mode change callback
onSubmit(data) => void | Promise<void>-Form submission handler
titlestring-Override default heading
subtitlestring-Override default subtitle
showSocialbooleantrueShow social login button
classNamestring-Additional CSS classes