default.tsx
The fallback a parallel route slot renders when Next.js cannot tell which page should fill it, typically after a hard navigation.
In more detail
During soft navigation a slot keeps showing its last page. On a full load there is no such memory, so Next.js renders default.tsx, and without one the route returns 404.
Related terms
- parallel routes — Rendering several pages side by side in one layout, each from a folder prefixed with @, such as @analytics.
- hard navigation — Loading a URL from scratch, such as typing it, refreshing or opening a shared link, so the whole page is rendered by the server.
Taught in
- Parallel & Intercepting Routes: Modals & Split Views — Next.js 15 & Modern App Router Architecture