next-metav0.5.0
On this page
  1. Choose your router
  2. Built for composition

Introduction

A composable metadata layer for the two Next.js routers and the tools around them.

next-meta lets you describe a page once, share sensible defaults, and render the result through the right Next.js API.

Choose your router

EnvironmentImportRendering
App Router, Next.js 14+next-meta/appNative Metadata and Viewport
Pages Router, Next.js 10+next-meta/pagesMetaProvider and PageMeta
Shared configuration or scriptsnext-meta/coreSerializable resolved metadata

Start with installation, then choose the App Router or Pages Router guide.

Built for composition

Relative URLs resolve against a shared base URL. Image arrays can replace, prepend, or append inherited defaults. TypeScript keeps your configuration close to the API you actually use.

The existing root import remains backward-compatible. The focused core and App Router entry points do not load React or next/head at runtime.

By

Commune Software