Skip to content

JsonLdForArticle Reference

The JsonLdForArticle component renders Article-specific JSON-LD structured data in a script tag.

The JsonLdForArticle component accepts the following props:

type: "Article" | "NewsArticle" | "BlogPosting"

The type of article.

type: string

The headline or title of the article.

type: string[]

An array of image routes associated with the article.

type: Date

The date when the article was first published.

type: Date

The date when the article was last modified.

type: Array<{ name: string; url: string }>

An array of author objects. Each author must have a name and a url property.

type: string

A custom ID for the script tag.

type: string

A custom React key for the script element.