Layouts
Nested Layouts
Grouped Layouts
Streaming with Suspense
Root Layouts
File Conventions
Loading
Error
Data Fetching
Static-Site Generation
Server-Side Rendering
Incremental Static Regeneration
Components
Client Context
Styling
CSS and CSS-in-JS
acme.com
/
clothing
/
tops
/
Server Component Boundary
Counter Context Provider [Client Component]
Server Component Boundary
Home
Electronics
Clothing
Books
Counter Context [Client Component]
0 Clicks
Layout [Server Component]
All
Tops
Shorts
Shoes
Counter Context [Client Component]
0
Clicks
Page [Server Component]
Tops
Counter Context [Client Component]
0
Clicks
Created by the
Next.js
team at
Vercel
.
View the code
or
deploy your own
.