Skip to content

Glossary: Next.js Basics

Root layout

Also written: RootLayout

The layout in `app/layout.js`. It wraps every page and is the only place that writes the `<html>` and `<body>` tags.

Where the book teaches it

Related terms

Layoutglobal-error.js