rembrembdocs

File-system conventions

Last updated April 23, 2026

[

default.js

API Reference for the default.js file.

](default/index.md)[

Dynamic Segments

Dynamic Route Segments can be used to programmatically generate route segments from dynamic data.

](dynamic-routes/index.md)[

error.js

API reference for the error.js special file.

](error/index.md)[

forbidden.js

API reference for the forbidden.js special file.

](forbidden/index.md)[

instrumentation.js

API reference for the instrumentation.js file.

](instrumentation/index.md)[

instrumentation-client.js

Learn how to add client-side instrumentation to track and monitor your Next.js application's frontend performance.

](instrumentation-client/index.md)[

Intercepting Routes

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.

](intercepting-routes/index.md)[

layout.js

API reference for the layout.js file.

](layout/index.md)[

loading.js

API reference for the loading.js file.

](loading/index.md)[

mdx-components.js

API reference for the mdx-components.js file.

](mdx-components/index.md)[

not-found.js

API reference for the not-found.js file.

](not-found/index.md)[

page.js

API reference for the page.js file.

](page/index.md)[

Parallel Routes

Simultaneously render one or more pages in the same view that can be navigated independently. A pattern for highly dynamic applications.

](parallel-routes/index.md)[

proxy.js

API reference for the proxy.js file.

](proxy/index.md)[

public

Next.js allows you to serve static files, like images, in the public directory. You can learn how it works here.

](public-folder/index.md)[

route.js

API reference for the route.js special file.

](route/index.md)[

Route Groups

Route Groups can be used to partition your Next.js application into different sections.

](route-groups/index.md)[

src

Save pages under the `src` folder as an alternative to the root `pages` directory.

](src-folder/index.md)[

template.js

API Reference for the template.js file.

](template/index.md)[

unauthorized.js

API reference for the unauthorized.js special file.

](unauthorized/index.md)[

Metadata Files

API documentation for the metadata file conventions.

](metadata/index.md)[

Route Segment Config

Learn about how to configure options for Next.js route segments.

](route-segment-config/index.md)

Was this helpful?