AtroUIAtroUI
DocsBlog
StarOwn the UI
  • Introduction
  • Installation
  • Host APIs
  • Registry
  • Theming
  • Brand kit
  • Identity kit
  • Launch workflow
  • Collections
  • Glossary
  • Compare
  • Changelog
  • Blog
  • Updates
  • ButtonCLI
  • CardCLI
  • Form SelectCLI
  • TextareaCLI
  • BreadcrumbsCLI
  • ProseCLI
  • Founder AvatarCLI
  • Theme ToggleCLI
  • Adaptive Theme SwitchCLI
  • Theme ProviderCLI
  • LogoCLI
  • Mockup FrameCLI
  • TimelineCLI
  • Fade InCLI
  • StaggerCLI
  • Scroll ProgressCLI
  • Site HeaderCLI
  • Site FooterCLI
  • Bold FooterCLI
  • HeroCLI
  • PrincipleCLI
  • WorkCLI
  • CraftsCLI
  • LabCLI
  • WhoCLI
  • PricingCLI
  • Feature GridCLI
  • Logo CloudCLI
  • FAQCLI
  • Contextual CTACLI
  • Exit IntentCLI
  • Contact FormHost API
  • Calendly EmbedCLI
  • Waitlist FormHost API
  • Newsletter FormHost API
  • JournalCLI
  • Social ShareCLI
  • ResourcesCLI
  • Before / AfterCLI
  • Case StudyCLI
  • AR PortfolioCLI
  • Made With EmbedCLI
  • Count UpCLI
  • Deadline CountdownCLI
  • CurrentlyCLI
  • Project ListCLI
  • Log PreviewCLI
  • ChangelogCLI
  • Command MenuCLI
  • RevealCLI
  • Theme Toggle IconCLI
  • Site Header NarrowCLI
  • Site Footer NarrowCLI
  • Social FloatCLI
  • Reading ShelfCLI
  • Personal HeroCLI
  • ResumeCLI
  • Local ClockCLI
  • Weather ChipCLI
  • Stack ListCLI
  • OG ExamplesCLI
  • OG Live PreviewCLI
  • OG WorkspaceHost API
  • Thumbnail PreviewCLI
  • Thumbnail WorkspaceHost API
  • Project PlannerCLI
  • Scope ChatHost API
  • Live DashboardCLI
  • Analytics ProviderCLI
  • JSON-LDCLI
  • Testimonial SchemaCLI

Loading

Headless

CLI registry

JSON-LD

schema.org helpers for Organization/WebSite, articles, FAQ, breadcrumbs, offers, and tool pages. Headless - emits JSON-LD scripts only.

Preview → install → use

01

Preview

$npx shadcn@latest add @atroui/json-ld

Headless

JSON-LD helpers - emit schema.org in the document

Helpers like SiteGraphJsonLd, ArticleJsonLd, FaqJsonLd, and more inject <script type="application/ld+json">. No visible UI - check View Source or Rich Results Test.

import { SiteGraphJsonLd, ArticleJsonLd } from "atroui"

// Homepage
<SiteGraphJsonLd />

// Journal post
<ArticleJsonLd
  title="…"
  description="…"
  slug="shipping-mvps"
  date="2026-01-01"
/>

This preview mounts SiteGraphJsonLd once - inspect the page source for the graph.

Source lands in your repo. Setup: Installation · Registry catalog.

02

Usage

Render in the page (often the root layout or a template). Verify with View Source or Google’s Rich Results Test. Organization name defaults to getBrand().name - pass name to override.
03

API reference

PropTypeDefaultDescription
SiteGraphJsonLd.namestringgetBrand().nameOrganization / WebSite name.
ArticleJsonLdtitle, description, slug, date…-Blog/journal article graph.

Stop hardcoding atroui.com into consumer schema

After CLI add, JSON-LD reads getBrand() and getSiteUrl(). Override NEXT_PUBLIC_SITE_*. This is the identity-kit spoke, not a generic FAQ widget.

FAQ

Will Google show FAQ rich results?
Only if visible FAQ content matches FaqJsonLd. Do not emit FAQ schema for questions the page does not show.

Related

  • Analytics Provider
  • Testimonial Schema

JSON-LD

PreviousAnalytics ProviderNextTestimonial Schema