You are currently viewing documentation for version 13 of Next.js.
File Conventions
default.js
API Reference for the default.js file.
error.js
API reference for the error.js special file.
layout.js
API reference for the layout.js file.
loading.js
API reference for the loading.js file.
not-found.js
API reference for the not-found.js file.
page.js
API reference for the page.js file.
route.js
API reference for the route.js special file.
Route Segment Config
Learn about how to configure options for Next.js route segments.
template.js
API Reference for the template.js file.
Metadata Files
API documentation for the metadata file conventions.
Was this helpful?