File conventions

Route groups

Parenthesized folders organize routes without contributing a URL segment. Distinct groups cannot claim the same route.

Formal Syntax & Structure

nextjs syntaxnextjs
app/(group)/catalog/page.tsx

Working Example

Example Snippetnextjs
app/(shop)/catalog/page.tsx  -> /catalog
Next.js Reference