Node reference
Layout nodes
Shared structure inherited by routes beneath it.
Layout nodes wrap the pages beneath them. Use a layout for shared structure — navigation, headers, providers — that several pages should share rather than repeat.
Because layouts nest, a page inherits every layout above it, matching how the App Router composes layouts around a route.