nested layout

A layout inside a subfolder, which wraps only that section and is itself wrapped by the layouts above it.

In more detail

A dashboard can keep its sidebar in app/dashboard/layout.tsx while the root layout supplies the page shell. Moving between dashboard pages leaves both layouts mounted.

Related terms

Taught in

References