PeriodStatus
State, provenance, and the next action.
npx shadcn add @lopifi/period-statusExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Soft closed
Adjusting entries still post while the subledgers are shut, and the banner says which is which.
Locked
Nothing posts, and with no reopen handler the next action is the administrator the banner names.
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.
The state banner on every period-scoped surface. Three things, always: the state, the provenance, and the next action.
The provenance is a signed-off avatar (initials or a photo, with a tick), not a sentence. "Closed 4 Oct 2026 by A. Rivera, Controller" gets read once and then costs a line forever. The auditor who needs it presses the face and gets the name, role and timestamp. It's an InfoTip, so it opens under a thumb.
🔒 September 2026 · Closed 4 Oct 2026 by A. Rivera
Entries dated in this period will post to October and be flagged
for cutoff review. [Request reopen]
A lock icon alone is a dead end. Reopening states its blast radius first: "Reopening September will mark 4 published statements as superseded."
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Close, controls & consolidation
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section PeriodStatus renders in, the calculators behind its figures, and the ledger payloads that feed it.
- PeriodStatus, runningThe close showcase — live, with theme, density, grayscale and reduced-motion switches.
- Periods, locking and the closeWhat stops someone posting into a closed month?
- Close, controls & consolidationConceptually they belong to this family. Specs for 24 React components: PeriodStatus, CutoffWarning, CloseStatus, AuditTrail and 20 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 Close, controls & consolidation changes
Your copy doesn’t update itself when we fix something here.
- One email when a Close, controls & consolidation component needs a migration
- Nothing when nothing changes
Or install it now