ScheduleTable
One shell, seven presets. Prepaids through debt.
npx shadcn add @lopifi/schedule-tableExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Accrued liabilities
Releases reduce the liability, so the movement column carries them as negatives — and a fully released accrual stays on the page for the period it cleared.
Deferred revenue
Each contract names the performance obligation it is recognized against, because the obligation decides the pattern — ratably or at a point in time.
Fixed assets
Depreciation runs from the in-service date, not the purchase date, so the preset puts in-service, life and method beside every figure.
Leases
Operating and finance leases sit in one schedule but are classified apart, and the discount rate is shown because it drives every figure in the row.
Debt
A repayment and a revolver draw move principal in opposite directions, so the movement column is signed and the total nets them.
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.
One component, configured per schedule type. Prepaids, accruals, deferred revenue, fixed assets, intangibles, leases, debt.
Columns are type-specific; the shell, the totals row, and the tie-out are shared. Every row drills to the entries behind it, and they sum to the row. Fully released items are shown, then dropped. Rows that vanish silently make a schedule impossible to follow.
Variants ship as presets: prepaid · accrual · deferred-revenue · fixed-asset · intangible · lease · debt.
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 ScheduleTable renders in, the calculators behind its figures, and the ledger payloads that feed it.
- ScheduleTable, runningThe gl showcase — live, with theme, density, grayscale and reduced-motion switches.
- Prepaid & deferred releaseRelease a prepaid or deferred balance evenly or by days in each month.
- Annual vs monthly billingWhat paying a year up front really costs: the premium for monthly, the break-even month and the interest rate the discount works out to.
- Day count & prorationYear fractions under five day-count conventions, side by side.
- Depreciation scheduleStraight-line, double-declining or SYD schedules, with a first-period convention.
- Cancel mid-term costCancel an annual plan early: what is left unused, what you get back, and what cancelling really stops.
- Lease — ASC 842 / IFRS 16Lease liability and ROU asset schedules, finance or operating, from the payments and a rate.
- Loan amortizationA level-payment schedule whose last payment clears the balance to the cent.
- Prepaid software releaseJournal entries for an annual software subscription: the payment, then the monthly release, with any rounding remainder spread one minor unit at a time across the last months.
- 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