File conventions

Default slot file

A default file supplies fallback when active slot state cannot be recovered on a full load. Next.js 16 requires explicit named-slot defaults; also supply children fallback where the implicit slot has no matching page. This is UI recovery, not access control. Source: https://nextjs.org/docs/app/api-reference/file-conventions/default. Documentation-reviewed illustrative draft; installed declarations and runtime not verified.

Formal Syntax & Structure

nextjs syntaxnextjs
app/<segment>/@slot/default.tsx

Working Example

Example Snippetnextjs
export default function ActivityDefault() {  return <p>No activity panel selected.</p>;}// An optional modal slot could instead return null.
Next.js Reference