page.tsx

The special file that makes a route segment publicly reachable and holds the content shown at that URL.

In more detail

A page is a Server Component by default, can be async, and receives params and searchParams as Promises in Next.js 15. Without a page.tsx (or route.ts) a folder is not a route.

Related terms

Taught in

References