Skip to content

Clinical sources

The records an AI answer used, under one line that opens into the list, built on shadcn's Trace like its Sources.

Triage note · Nursing note · Oct 21, 2026
12-lead ECG · ECG · Oct 21, 2026
Troponin I, high-sensitivity · Lab result · Oct 21, 2026
Chest pain pathway · Local guideline

Installation

bunx shadcn@4.22.1 add @organui/clinical-sources

This adds components/ui/clinical-sources.tsx, built on shadcn's components in your project's Base UI or Radix style.

Usage

import { ClinicalSources } from "@/components/ui/clinical-sources"

<ClinicalSources sources={records} />

API Reference

Clinical sources props
PropDescription
sourcesThe records the answer used, as for Clinical citation.
defaultOpenOpens the list on first render. Defaults to false.

Notes

Built like shadcn's Sources, on its Trace: one line, "Used 4 records", that opens into the list.

For the model's reasoning, use shadcn's Reasoning or Chain of Thought, also built on Trace; the example on the AI Elements page shows one beside these.