Clerk Next.js Quickstart — Sign-in-or-up (App Router)
- from @clerk
A minimal Clerk quickstart for Next.js App Router with a single combined sign-in-or-up page (no separate sign-up route).
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @clerk/nextjs-quickstart-sign-in-or-upRegistry dependencies6
- button
- @clerk/nextjs-clerk-provider
- @clerk/nextjs-middleware
- @clerk/nextjs-theme-provider
- @clerk/nextjs-header
- @clerk/nextjs-layout-with-header
