Components (172)
Cited Answer
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Cited Answer…
Usage
import { CitedAnswer } from "ui-kit/components/cited-answer";Props
| Prop | Type | Default | Description |
|---|---|---|---|
segments* | CitedSegment[] | — | — |
sources* | CitedSource[] | — | — |
pagesRead | number | — | — |
defaultOpen | string | — | — |
onOpenSource | (source: CitedSource) => void | — | — |
onPreviewChange | (id: string | null) => void | — | — |
action | { label: string; onClick: () => void } | — | — |
className | string | — | — |