Next.js Documentation
The React framework for the web.
What is Next.js?
Next.js is the most popular React meta-framework, providing the App Router, server components, file-based routing, and first-class deployment. It powers a huge share of production React apps.
Smart Stack indexes the official Next.js documentation and keeps it current, so you can search it directly or ask questions in plain language. Because answers are grounded in the real pages — not a model's training data — you get correct, version-aware APIs instead of plausible-looking guesses.
$ smart-stack ask
Ask anything about Next.js
Get an answer grounded in the official Next.js docs — and add the rest of your stack for integration-aware help.
>How do I get started with Next.js?
Ask Smart StackWorks well with Next.js
Add these alongside Next.js for answers that understand how the pieces fit together.
React
v19.0.0The library for web and native user interfaces.
Remix
v2.15.0Build better websites with web standards.
Vercel
vplatformThe platform for frontend developers.
Tailwind CSS
v4.0.0A utility-first CSS framework for rapid UI development.
Astro
v5.2.0The web framework for content-driven websites.
Nuxt
v3.15.0The intuitive Vue framework.