✳flâneur — a map of the web's best reading
Routing: Pages and Layouts | Next.js
nextjs.org · 1,392 words · saved by 1 readers
Create your first page and shared layout with the App Router.
This page is also available as Markdown at /docs/app/getting-started/layouts-and-pages.md . For an index of Next.js documentation , see /docs/llms.txt . Copy page Layouts and Pages Last updated June 23, 2026 Next.js uses file-system based routing , meaning you can use folders and files to define routes. This page will guide you through how to create layouts and pages, and link between them. Creating a page A page is UI that is rendered on a specific route. To create a page, add a page file inside the app directory and default export a React component. For example, to create an index page ( / )
Explore this link on the map →related reading
- Getting Started: Layouts and Pages | Next.jsnextjs.org
- Building a single-page application with Next.js and React Routercolinhacks.com
- App Router: Navigating Between Pages | Next.jsnextjs.org
- GitHub - emanuelefavero/next-js: A Next.js cheat sheet repository · GitHubgithub.com
- Cursor Docs — Agent, Rules, MCP, Skills & CLIdocs.cursor.com
- Getting Started: Error Handling | Next.jsnextjs.org
- projects, claire wangclairebookworm.com
- Getting Started: Linking and Navigating | Next.jsnextjs.org
- File-system conventions: loading.js | Next.jsnextjs.org
- Next.Js 13 Parallel Routes: A Comprehensive Guide | HackerNoonhackernoon.com
- File-system conventions: Parallel Routes | Next.jsnextjs.org
- Using higher-order functions to build per-page layouts in Next.js — Brock Herionbrockherion.dev