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

Taught in

References