parallel routes
Rendering several pages side by side in one layout, each from a folder prefixed with @, such as @analytics.
In more detail
Each @folder becomes a named slot passed to the parent layout as a prop next to children. Slots load, stream and fail independently, each with its own loading and error files.
Example
export default function Layout({ children, analytics, metrics }) { /* ... */ }Related terms
- default.tsx — The fallback a parallel route slot renders when Next.js cannot tell which page should fill it, typically after a hard navigation.
- intercepting routes — Routes that show a different page, often a modal, when you navigate to a URL from inside the app, while a direct visit shows the normal page.
- layout.tsx — The special file that wraps a segment and all its children in shared UI that stays mounted while you navigate between them.
Taught in
- Parallel & Intercepting Routes: Modals & Split Views — Next.js 15 & Modern App Router Architecture