app directory

The folder, app/ or src/app/, whose subfolders and special files define every route in an App Router project.

In more detail

Folders become URL segments and special files such as page.tsx, layout.tsx and loading.tsx define what each segment renders. Other files can sit alongside them without becoming routes.

Related terms

Taught in

References