Aaron Purewal
Menu
Layouts
Nested Layouts
Grouped Layouts
Streaming with Suspense
File Conventions
Loading
Error
Head
Data Fetching
Static-Site Generation
Server-Side Rendering
Incremental Static Regeneration
Components
Client Context
Styling
CSS and CSS-in-JS
aaronpurewal.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
By
View code
or
deploy your own