Next.js 16 · Routing and files

Create a page

A page.tsx file inside app/ is a route. This one serves /about from app/about/page.tsx.

export default function Page() {
  return <h1>About</h1>;
}

Official Next.js 16 documentation

More routing and files commands

All routing and files commands · Next.js 16 cheatsheet

Was this page helpful?