# Source: https://nextjs.org/docs/pages/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/app/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/pages/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/app/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/pages/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/app/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/pages/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/app/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/pages/api-reference/file-conventions.md

# Source: https://nextjs.org/docs/app/api-reference/file-conventions.md

# File-system conventions
@doc-version: 16.0.4



- [default.js](/docs/app/api-reference/file-conventions/default.md)
  - API Reference for the default.js file.
- [Dynamic Segments](/docs/app/api-reference/file-conventions/dynamic-routes.md)
  - Dynamic Route Segments can be used to programmatically generate route segments from dynamic data.
- [error.js](/docs/app/api-reference/file-conventions/error.md)
  - API reference for the error.js special file.
- [forbidden.js](/docs/app/api-reference/file-conventions/forbidden.md)
  - API reference for the forbidden.js special file.
- [instrumentation.js](/docs/app/api-reference/file-conventions/instrumentation.md)
  - API reference for the instrumentation.js file.
- [instrumentation-client.js](/docs/app/api-reference/file-conventions/instrumentation-client.md)
  - Learn how to add client-side instrumentation to track and monitor your Next.js application's frontend performance.
- [Intercepting Routes](/docs/app/api-reference/file-conventions/intercepting-routes.md)
  - Use intercepting routes to load a new route within the current layout while masking the browser URL, useful for advanced routing patterns such as modals.
- [layout.js](/docs/app/api-reference/file-conventions/layout.md)
  - API reference for the layout.js file.
- [loading.js](/docs/app/api-reference/file-conventions/loading.md)
  - API reference for the loading.js file.
- [mdx-components.js](/docs/app/api-reference/file-conventions/mdx-components.md)
  - API reference for the mdx-components.js file.
- [not-found.js](/docs/app/api-reference/file-conventions/not-found.md)
  - API reference for the not-found.js file.
- [page.js](/docs/app/api-reference/file-conventions/page.md)
  - API reference for the page.js file.
- [Parallel Routes](/docs/app/api-reference/file-conventions/parallel-routes.md)
  - Simultaneously render one or more pages in the same view that can be navigated independently. A pattern for highly dynamic applications.
- [proxy.js](/docs/app/api-reference/file-conventions/proxy.md)
  - API reference for the proxy.js file.
- [public](/docs/app/api-reference/file-conventions/public-folder.md)
  - Next.js allows you to serve static files, like images, in the public directory. You can learn how it works here.
- [route.js](/docs/app/api-reference/file-conventions/route.md)
  - API reference for the route.js special file.
- [Route Groups](/docs/app/api-reference/file-conventions/route-groups.md)
  - Route Groups can be used to partition your Next.js application into different sections.
- [Route Segment Config](/docs/app/api-reference/file-conventions/route-segment-config.md)
  - Learn about how to configure options for Next.js route segments.
- [src](/docs/app/api-reference/file-conventions/src-folder.md)
  - Save pages under the `src` folder as an alternative to the root `pages` directory.
- [template.js](/docs/app/api-reference/file-conventions/template.md)
  - API Reference for the template.js file.
- [unauthorized.js](/docs/app/api-reference/file-conventions/unauthorized.md)
  - API reference for the unauthorized.js special file.
- [Metadata Files](/docs/app/api-reference/file-conventions/metadata.md)
  - API documentation for the metadata file conventions.