Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Install
195 components

PeriodPicker

Fiscal-aware. Never assumes January.

npx shadcn add @lopifi/period-picker

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.

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.
Read the Statements spec

The accounting it encodes

The concepts this component renders, each defined once in the lexicon.

  • Fiscal year
  • Period

More in Statements

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.

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

We don’t rent the list, and asking takes you off it. We use this to reply and to send the updates you asked for. To unsubscribe, reply to any email or write to hello@lopifi.com. See Privacy.

Or install it now

npx shadcn add @lopifi/period-picker