PeriodPicker
Fiscal-aware. Never assumes January.
npx shadcn add @lopifi/period-pickerHow 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.
Fiscal-aware. Takes fiscalYearStartMonth and labels accordingly; FY26 Q1 may start in July.
- Presets: this month, last month, QTD, YTD, this fiscal quarter, this fiscal year, trailing 12.
- Every preset shows its resolved dates. "Last quarter (1 Apr – 30 Jun 2026)".
- Custom range with a two-month calendar.
- Closed/locked periods are visually marked and warn on selection, because a "closed" period's numbers shouldn't be changing.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Statements
StatementTableThe shared shell: hierarchy, periods, rules.
StatementRowIndent level, subtotal, total, expand.
ProfitAndLossP&L with period comparison and variance.
BalanceSheetAssets / liabilities / equity, with the balance check.
CashFlowStatementOperating / investing / financing.
StatementToolbarBasis, period, comparison, currency, consolidation.
VarianceCellAbsolute + percent + significance flag.
FluxAnalysisPeriod-over-period explanations.
DrilldownSheetStatement line → the GL entries behind it.
TrialBalanceAll accounts with the debit=credit proof.
CloseChecklistTasks, owners, blockers, sign-off.
ReportHeaderEntity, statement, period, basis, currency, as-of. Every figure states its basis.
StatementOfChangesInEquityThe fourth statement. Equity components across, movements down.
StatementNotesNumbered notes, referenced from the line they explain.
ReportingPackageA board or lender pack as one object: contents, basis, review state.
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section PeriodPicker renders in, the calculators behind its figures, and the ledger payloads that feed it.
- PeriodPicker, runningThe statements showcase — live, with theme, density, grayscale and reduced-motion switches.
- Day count & prorationYear fractions under five day-count conventions, side by side.
- Periods, locking and the closeWhat stops someone posting into a closed month?
- StatementsNo component library ships a <BalanceSheet />. That's the biggest gap in the market, and the reason Lopifi exists. Specs for 16 React components: StatementTable, StatementRow, ProfitAndLoss, BalanceSheet and 12 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 Statements changes
Your copy doesn’t update itself when we fix something here.
- One email when a Statements component needs a migration
- Nothing when nothing changes
Or install it now
npx shadcn add @lopifi/period-picker