File conventions
Parallel routes
Named slot maps to layout prop; not a URL segment. Soft navigation can retain active slot subpages. Source: https://nextjs.org/docs/app/api-reference/file-conventions/parallel-routes
Formal Syntax & Structure
nextjs syntaxnextjs
app/<segment>/@slot/page.tsxWorking Example
Example Snippetnextjs
import type { ReactNode } from "react";export default function Layout({ children, activity }: { children: ReactNode; activity: ReactNode }) { return <div><section aria-label="Reading list">{children}</section> <aside aria-label="Activity">{activity}</aside></div>;}