Layouts
Nested Layouts
Grouped Layouts
Streaming with Suspense
Root Layouts
File Conventions
Loading
Error
Components
Hooks
Client Context
Styling
CSS and CSS-in-JS
acme.com
/
Home
Electronics
Clothing
Books
0 Clicks
children
Layouts
A layout is UI that is shared between multiple pages. On navigation, layouts preserve state, remain interactive, and do not re-render. Two or more layouts can also be nested.
Try navigating between categories and sub categories.
Learn more
Created by the
Next.js
team at
Vercel
.
View the code
or
deploy your own
.