Skip to content
Preview
Each track takes its own share 1, and a subgrid passes its parent's lines down 3. Both survive a narrow container4.

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

PreviewThe marker links to its source.
Grid tracks share the space 1.