Inline citation
Each figure names what it rests on, in the line where it appears.
Use it when
- A figure or claim in an answer comes from a specific file or entry.
- People need to check a number without losing the line they’re reading.
Don’t use it when
- The figure is built from other figures. Use
LineageTree, so it opens down to its parts. - You need everything the answer read in one place. Use
Sourcesbelow the answer.
The rule it follows
Every number opens down to the entry behind it.
Check: Click any figure. It opens the entries it was built from.
Before and after
Yes. Invoice MFL-58821 was entered twice and paid twice, $48,216.40 each time.
AP says the system blocks a repeated supplier invoice number.
Yes. Invoice MFL-58821 was entered twice and paid twice, $48,216.40 each time.
AP says the system blocks a repeated supplier invoice number.
Install
pnpm dlx shadcn@latest add https://tabularui.com/r/inline-citation.jsonUsage
import { InlineCitation } from '@/components/tabular-ui/components/product/InlineCitation'; <p> Invoice MFL-58821 was paid twice, $48,216.40 each time. <InlineCitation number={1} source={{ id: 'invoices', name: 'supplier_invoices_fy2026_h1.csv', href: '/files/invoices' }} locator="API-KUS-2607-00007 and API-KUS-2607-00011" /></p>