Clerk Next.js Quickstart (App Router)
- from @clerk
A quickstart for Next.js App Router with Clerk authentication.
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-quickstartRegistry dependencies6
- button
- @clerk/nextjs-clerk-provider
- @clerk/nextjs-middleware
- @clerk/nextjs-theme-provider
- @clerk/nextjs-header
- @clerk/nextjs-layout-with-header
