← All components

Stable 1.0.0

FaithfulCard

A card that shows Markdown from an untrusted result under a content policy, with link and image consent, for answers that need their sources and limits kept visible.

What it looks like

Illustration. A drawing of FaithfulCard for this page, not the SDK rendering it. It is not interactive and calls no service.

Documentation

The SDK documentation owns the technical contract. Choose the release you build against.

Renderers and hosts

Statements below are the SDK’s, for each release. Nothing here adds a host that the SDK does not record.

Stable 1.0.0

  • React Published
  • Lit Published
  • Both renderers render the card directly and through each stack's start in the local host-fixture tests. SDK guidefor this statement (Stable 1.0.0)
  • Ansari Faithful Answers serves its answers as a FaithfulCard in Claude and ChatGPT. No SDK guide records more.

Packages and imports

Stable 1.0.0

Entry points of FaithfulCard at source revision 15591e3.
ImportPackage versionRole
@saga-a2ui/components/faithful-card@saga-a2ui/components@1.0.0Renderer-neutral content contract, reader, Markdown interpretation, content policy and image consent Source of @saga-a2ui/components/faithful-card
@saga-a2ui/react/faithful-card@saga-a2ui/react@1.0.0React rendering, catalog entry and trusted settings provider Source of @saga-a2ui/react/faithful-card
@saga-a2ui/lit/faithful-card@saga-a2ui/lit@1.0.0Lit rendering, catalog entry and content view Source of @saga-a2ui/lit/faithful-card
@saga-a2ui/react-mcp-stack/faithful-card@saga-a2ui/react-mcp-stack@1.0.1Starts a FaithfulCard application in React over MCP Apps Source of @saga-a2ui/react-mcp-stack/faithful-card
@saga-a2ui/lit-mcp-stack/faithful-card@saga-a2ui/lit-mcp-stack@1.0.1Starts a FaithfulCard application in Lit over MCP Apps Source of @saga-a2ui/lit-mcp-stack/faithful-card

From the SDK source

A FaithfulCard declared in an A2UI layout and bound to the body of a note. This is code copied fromexamples/pack1-consumer/src/main-card.ts in the Stable 1.0.0 source. It is not a rendering.

const body = {
  id: 'note-body',
  component: 'FaithfulCard',
  contractVersion: 1,
  markdown: { path: 'body' },
} as const;

← All components