About 9,510,000 results
Open links in new tab
  1. How to add static or dynamic metadata to a NextJS page

    Oct 9, 2024 · The following post explains how to add static or asynchronous metadata to pages within the app router of a NextJS project. If you are not familiar with the NextJS app router, …

  2. Routing: Pages and Layouts | Next.js

    Apr 15, 2025 · Per-Page Layouts If you need multiple layouts, you can add a property getLayout to your page, allowing you to return a React component for the layout. This allows you to …

  3. Next.js Pages, Layouts, and Custom Header | LetsReact.org

    Aug 20, 2025 · In Next.js 13, the introduction of new file conventions simplifies the creation of pages, shared layouts, and templates within your Next.js application. This guide will walk you …

  4. Pages and Layouts | Next.js English

    When navigating between pages, we want to persist page state (input values, scroll position, etc.) for a Single-Page Application (SPA) experience. This layout pattern enables state persistence …

  5. Pages and Layouts in Next.js

    Mar 28, 2024 · If you need multiple layouts, you can define the layout on a per-page basis by adding a getLayout property to your page. This allows for complex nested layouts:

  6. Getting Started: Layouts and Pages | Next.js

    Nov 17, 2025 · 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 …

  7. Creating Dynamic Pages with Next.js and Fetching Data from a …

    Mar 23, 2025 · In this tutorial, we’ll go over how to create dynamic pages in Next.js using React and REST API integration. This approach allows us to fetch data dynamically and render it on …

  8. NextJS pre-render per-page data in different parts of layout?

    Feb 4, 2025 · I have this working, by putting the whole Hero component in a layout instead of a page, and then using usePathname and context to grab the correct per-page info, but the …

  9. How to customize Next.js metadata - clerk.com

    Jan 9, 2025 · Next.js offers a number of different options when it comes to setting metadata, and the best option depends on the version of the framework you are using, and the way you are …

  10. Add metadata in a Next.js application built with the Pages and …

    Jan 11, 2024 · In this article, we will walk through the process of adding metadata in a Next.js application built with the Pages and the App Router.