MENU
App Router Special Folders
Certain symbols can used in the names of folders in /app to signify special treatment.
Sample folder | Meaning |
/app/(group) | A Route Group is excluded from the route's URL path. |
/app/_private | This indicates the folder is a private implementation detail and should not be considered by the routing system, thereby opting the folder and all its subfolders out of routing. |
/app/[dynamic] | Accepting arbitrary route segments, dynamic segments are passed as the params prop to layout, page, route, and generateMetadata functions. |
/app/[...segments] | Dynamic Segments can be extended to catch-all subsequent segments. |
/app/[[...optional_segments]] | Catch-all Segments can be made optional. |
/app/@parallel_slots | Parallel Routes allows you to simultaneously or conditionally render one or more pages within the same layout. |
/app/(.) /app/(..) /app/(..)(..) /app/(...) |
Intercepting routes allows you to load a route from another part of your application within the current layout. |