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
/
Layouts
Nested Layouts
Create UI that is shared across routes
Grouped Layouts
Organize routes without affecting URL paths
Streaming with Suspense
Streaming data fetching from the server with React Suspense
File Conventions
Loading
Create meaningful loading UI for specific parts of an app
Error
Create error UI for specific parts of an app
Data Fetching
Static-Site Generation
Generate static pages
Server-Side Rendering
Server-render pages
Incremental Static Regeneration
Get the best of both worlds between static & dynamic
Components
Client Context
Pass context between Client Components that cross Server/Client Component boundary
Styling
CSS and CSS-in-JS
Preview the supported styling solutions
Created by the
Next.js
team at
Vercel
.
View the code
or
deploy your own
.