EvidenceList

Molecule

The rows an AI answer cites, drawn with the same DOM as kui-react: a number, a kind icon and label, a title that opens the row, a summary, source and time. Claims dropped for citing nothing openable are listed apart with a text indicator. `activeId` highlights a row at render time and `KuiEvidence.setActive(listRoot, id)` does it in the browser; the page's `:target` highlights too. `onOpen` is truthy to give a row without an `href` an Open button; links and the button fire the bubbling DOM event `kui:evidence-open` { id, href }. Timestamps use `locale` and `timeZone` (a server formats in its own zone unless `timeZone` is given).

With a dropped claim, linked to chips

Preview

Checkout errors started after payments 4.12.0 was rolled out [3]. The failures are gateway timeouts [1][2], and the error ratio rose above 3 % [4]. The database was the bottleneck [7].

Evidence

  1. [1]

    412 errors between 08:02 and 08:07.

    loki · Oct 18, 2026, 8:02:00 AM

  2. [2]

    payment.charge spent 140 ms and timed out.

    tempo · Oct 18, 2026, 8:04:00 AM

  3. [3]
    Deploy payments 4.12.0

    Rolled out at 07:58.

    deploys · Oct 18, 2026, 7:58:00 AM

  4. [4]
    Metric checkout error ratio

    Rose from 0.4 % to 3.1 %.

    prometheus

Dropped claims: 1 claims removed: they cited no evidence you can open.

These statements are not part of the answer.

  • The database was the bottleneck.(Reason: cited evidence 7, which does not exist)
Code
<%- include('modules/ui/CitedText', { text: answer, evidence: evidence }) %>
<%- include('modules/ui/EvidenceList', { items: evidence, droppedClaims: dropped, onOpen: true }) %>
<script>
  var list = document.querySelector('section');
  document.addEventListener('kui:citation-select', function (e) { KuiEvidence.setActive(list, e.detail.evidenceId); });
  document.addEventListener('kui:evidence-open', function (e) { KuiEvidence.setActive(list, e.detail.id); });
</script>

Empty

Preview

Evidence

No evidence was cited.

Code
<%- include('modules/ui/EvidenceList', { items: [] }) %>

Another language, no heading

Preview
  1. [1]

    412 errors between 08:02 and 08:07.

    loki · 18.10.2026, 10:02:00

  2. [2]

    payment.charge spent 140 ms and timed out.

    tempo · 18.10.2026, 10:04:00

  3. [3]
    Auslieferung payments 4.12.0

    Rolled out at 07:58.

    deploys · 18.10.2026, 09:58:00

Code
<%- include('modules/ui/EvidenceList', { items: evidence, heading: false, idPrefix: 'belege', locale: 'de-DE', timeZone: 'Europe/Berlin', messages: { heading: 'Belege', kinds: { log: 'Protokoll' } } }) %>
Source modules/ui/EvidenceList.ejs