AgingTable
AR/AP buckets, 0-30-60-90+.
npx shadcn add @lopifi/aging-tableExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
AR/AP by bucket: current / 1-30 / 31-60 / 61-90 / 90+. Row totals and column totals. The grand total cell is proven both ways: rows and columns must agree, and the component asserts it.
asOf — the date the buckets were aged to — is stated under the title ("Aged as of 30 Sep 2026 · USD"). Every bucket edge is counted from it, so it is the aging's basis.
Bucket severity uses a sequential lightness ramp, not a red gradient, so it survives grayscale and the signal palette.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Ledger & tables
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section AgingTable renders in, the calculators behind its figures, and the ledger payloads that feed it.
- AgingTable, runningThe ar showcase — live, with theme, density, grayscale and reduced-motion switches.
- Payment terms & due datesDue dates from payment terms, and whether an early-payment discount is worth taking.
- Ledger & tablesThe table is the product. It gets the same design attention as the hero card. Specs for 17 React components: TransactionTable, TransactionRow, TransactionCard, TransactionDetail and 13 more.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Ledger & tables changes
Your copy doesn’t update itself when we fix something here.
- One email when a Ledger & tables component needs a migration
- Nothing when nothing changes
Or install it now