Refresh fallback
A page refreshes while a parallel-route slot points to a subpage whose active state cannot be reconstructed.
Next.js 16+ · Directive
The default.js convention defines fallback UI for Parallel Routes when Next.js cannot recover a slot's active state after a full-page load. Add a default file to named slots, and sometimes to the implicit children slot, to prevent errors or a 404.
Place a default.js or default.tsx file inside a parallel-route slot to provide fallback UI when Next.js cannot recover that slot's active state during a hard navigation. Named slots need their own fallback; the implicit children slot may need one too to avoid a 404.
app/[segment]/@slot/default.tsxexport default function Default() {
return <p>Select a section to continue.</p>
}A fallback UI rendered when a parallel-route slot's active state cannot be recovered after a full-page load.
A page refreshes while a parallel-route slot points to a subpage whose active state cannot be reconstructed.
A named slot such as @analytics or @team has no URL-matching active child after a hard navigation.
The implicit children slot must render a route fallback instead of producing a 404.
Parallel Routeschildren slotnamed slotshard navigation