Still True?
← Back to the board
Metadata

In the App Router you set page metadata by exporting a metadata object or a generateMetadata function from a layout or page.

officialNext.js docs (current)confidence 95%current as of Aug 2026

The App Router has a Metadata API. You export a static metadata object for fixed tags or a generateMetadata function for dynamic ones. Next.js renders the tags into the document head for you. You do not use next/head in the App Router.

Related claims