Skip to main content
Our new developer certification is live!

JsonLd

Generates and injects JSON-LD structured data for SEO.

Props

PropTypeRequiredDefaultDescription
contentPage | Blogpost | Guide | LiveStreamYes-Content object to generate JSON-LD for

Usage

import JsonLd from '@/components/atoms/JsonLd';

<JsonLd content={pageData} />

Features

  • Generates structured data using getJsonLd utility
  • Injects as <script type="application/ld+json"> tag
  • Supports multiple content types (Page, Blogpost, Guide, LiveStream)
  • Improves SEO and search engine understanding

Notes

  • Should be placed in the <head> or at the top of page content
  • Uses dangerouslySetInnerHTML to inject JSON
  • JSON is stringified automatically