ChartOfAccounts
Hierarchy, statement mapping, unsupported-account flags.
npx shadcn add @lopifi/chart-of-accountsExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Income statement accounts
Revenue and expense accounts need no supporting schedule, so the unmapped-schedule finding stays quiet.
Unmapped schedules flagged
A balance-sheet account with no supporting schedule is a close finding, so it is named above the tree, not buried in a column.
Frozen header in a short panel
A real chart runs to hundreds of lines, so a capped height keeps the column headers and account names pinned while it scrolls.
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.
Hierarchical tree, max 5 levels, with type, normal balance, contra flag, statement mapping, and current balance per account. Bulk edit of mapping. Flags accounts with no supporting-schedule mapping, which is a finding in itself.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Accounting core (GL)
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section ChartOfAccounts renders in, the calculators behind its figures, and the ledger payloads that feed it.
- ChartOfAccounts, runningThe gl showcase — live, with theme, density, grayscale and reduced-motion switches.
- Trial balance checkerCheck a trial balance ties, flag wrong-side balances and see what it rolls up to.
- Chart of accountsHow does each ledger model an account?
- Accounting core (GL)The general ledger layer. Specs for 18 React components: JournalEntry, JournalEntryForm, JournalEntryTable, AccountPicker and 14 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 Accounting core (GL) changes
Your copy doesn’t update itself when we fix something here.
- One email when a Accounting core (GL) component needs a migration
- Nothing when nothing changes
Or install it now