Citations
import { Citation, CitationList, citationHost, citationHref } from "@arcadia/ui";Citation
indexrequired- number
- Its place in the answer, from 1; the same number marks its row in
CitationList. sourcerequired- { title: string; href: string }
- The page it cites.
rootStyle- RootStyle
- Typed StyleX override: where the marker sits.
sourcesrequired- readonly CitationSource[]
- The sources, in the answer's order; each usable page is listed and counted once.
title- string
- Default:
"Sources" - The disclosure's word. Or "Source" for one.
open- boolean
- Controlled open state.
defaultOpen- boolean
- Default:
false - Open when it arrives.
onOpenChange- (open: boolean, details: OpenChangeDetails) => void
- Called when the header toggles it.
max- number
- Show this many rows, then a button for the rest.
rootStyle- RootStyle
- Typed StyleX override: where the disclosure sits.
State machine
Grid tracks share the space 1.