Skip to content

Glossary: Next.js Basics

Layout

Also written: layout.js, layouts

A component in `layout.js` that wraps every page in its folder and the folders below it, receiving the page as `children`. It stays mounted as you move between those pages.

Where the book teaches it

Related terms

Root layoutNested layout