ns-ui
An inline citation pill (hostname + source count, Geist Mono) that opens one bordered card with a title, excerpt and a 1/N stepper, instead of a popover per source.
Use when a claim needs attribution at the point it is made and one claim may carry several sources, so a superscript hostname pill opens a single card with a 1/N stepper instead of stacking one popover per source; pick citation-grounding-hatch instead when the question is how much of the whole answer is supported, since pills can only mark where a source was attached and say nothing about the spans with none.
Install
npx shadcn add https://design.helpmarq.com /r/citation-inline-card.jsonEngineering notes / caching
A synchronized-TTL stampede in March made it clear that uniform expiry is a liability at scale, and jittered TTLs combined with request coalescing at the cache layer are now the standard mitigation. Neither change is exotic on its own; together they moved p99 origin load from a recurring incident to a non-issue.
The rest of the win came from elsewhere. Edge response times improved considerably after last quarter’s cache changes, and parsing overhead on the misses that remained dropped once a streaming approach replaced the buffered one we started with.
| Prop | Type | Default | Description |
|---|---|---|---|
| sources | CiteSource[] | — | — |
| className? | string | — | — |