Back to components

AI Interfaces

Grounding Coverage Card

A claim-level evidence audit showing citation coverage, source attribution, and unsupported statements.

groundingcitationsquality

Installation

Copy and paste the code into your project.

Accessibility notes

Coverage is exposed through progress semantics, exact text counts, and explicit source or citation-needed labels.

Grounding coverage

Answer evidence

2/3 supported
  • Revenue increased 18% year over year

    Source: Q2 report

  • Enterprise retention reached 96%

    Source: Metrics sheet

  • Expansion is expected next quarter

    Needs citation

Preview accent

TypeScript
const claims = [
  { text: "Revenue increased 18% year over year", source: "Q2 report", covered: true },
  { text: "Enterprise retention reached 96%", source: "Metrics sheet", covered: true },
  { text: "Expansion is expected next quarter", source: "No source", covered: false },
];

export function GroundingCoverageCard() {
  const covered = claims.filter((claim) => claim.covered).length;
  return (
    <section className="w-full max-w-md rounded-xl border border-white/12 bg-[#0b0f14]/92 p-4 shadow-2xl">
      <header className="flex items-start justify-between gap-4"><div><p className="text-xs font-semibold uppercase tracking-[0.18em] text-[#40E0D0]">Grounding coverage</p><h3 className="mt-1 text-base font-bold text-white">Answer evidence</h3></div><span className="rounded-full bg-[#fb923c]/12 px-2.5 py-1 text-[0.65rem] font-bold text-[#fdba74]">{covered}/{claims.length} supported</span></header>
      <div className="mt-4 h-1.5 overflow-hidden rounded-full bg-white/[0.06]" role="progressbar" aria-label="Supported claims" aria-valuenow={covered} aria-valuemin={0} aria-valuemax={claims.length}><span className="block h-full w-2/3 rounded-full bg-gradient-to-r from-[#40E0D0] to-[#a78bfa]" /></div>
      <ul className="mt-4 space-y-2">{claims.map((claim) => <li key={claim.text} className="rounded-lg border border-white/9 bg-white/[0.025] p-3"><div className="flex items-start gap-2"><span className={claim.covered ? "mt-1 h-2 w-2 shrink-0 rounded-full bg-[#40E0D0]" : "mt-1 h-2 w-2 shrink-0 rounded-full bg-[#fb923c]"} /><p className="text-xs leading-5 text-slate-300">{claim.text}</p></div><p className="mt-2 pl-4 text-[0.65rem] font-semibold text-slate-400">{claim.covered ? "Source: " + claim.source : "Needs citation"}</p></li>)}</ul>
    </section>
  );
}
Usage
<GroundingCoverageCard />

Related components

Grounding audit

Claims and citations

67%
ClaimSourcesStatus
  • Revenue grew 18%2Supported
  • Expansion led growth1Partial
  • Churn fell in Europe0Missing

AI Interfaces

Citation Claim Matrix

Advanced

A claim-level grounding audit that reveals full, partial, and missing citation coverage.

citationsclaimsgrounding
View component

Incident INC-204

Answer quality regression

SEV-2

Affected runs

18.4%

Owner

Quality team
  1. 09:42

    Citation rate dropped

    High

  2. 09:38

    Retriever index changed

    Change

  3. 09:31

    Eval threshold breached

    Signal

AI Interfaces

AI Incident Triage Board

Advanced

An operational incident view connecting quality regressions, deployment changes, ownership, and response actions.

incidentoperationsquality
View component

Answer evidence

3 claims supported

Verified
  • Release date

    Launch brief

    98%
  • Plan limits

    Pricing notes

    91%
  • Migration path

    Support guide

    86%

AI Interfaces

Answer Evidence Card

Intermediate

A claim-level evidence summary that connects generated answers to sources and confidence scores.

evidencecitationsconfidence
View component