route group (Next.js)
A folder whose name is in parentheses, such as (marketing), that organises routes without adding to the URL.
In more detail
app/(marketing)/pricing/page.tsx is served at /pricing. Groups let sections have their own layouts, including separate root layouts, and let teams split a large app by area.
Related terms
- app directory — The folder, app/ or src/app/, whose subfolders and special files define every route in an App Router project.
- root layout — The required top-level layout that wraps every route and must render the html and body tags.
- private folder — A folder whose name starts with an underscore, such as _components, which the router ignores entirely.
Taught in
- Dynamic Routes: Slugs & generateStaticParams — Next.js 15 & Modern App Router Architecture
- Route Groups & Private Folders: Modular Structures — Next.js 15 & Modern App Router Architecture