App Router
(Beta)
Menu
Layouts
Nested Layouts
Grouped Layouts
File Conventions
Loading
Error
Not Found
Data Fetching
Streaming with Suspense
Static Data
Dynamic Data
Incremental Static Regeneration
Components
Client Context
Misc
Client Component Hooks
CSS and CSS-in-JS
Code Snippets
By
View code
or
deploy your own
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.
Docs
Code
By
View code
or
deploy your own