SamplingTool
Method and seed recorded, so the selection is reproducible.
npx shadcn add @lopifi/sampling-toolExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
A fresh seed
Without a recorded seed, one is drawn when the tool opens and recorded with the selection.
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.
Select N transactions by a stated method (random, monetary-unit, judgmental) with the seed recorded so the selection is reproducible.
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 SamplingTool renders in, the calculators behind its figures, and the ledger payloads that feed it.
- SamplingTool, runningThe close showcase — live, with theme, density, grayscale and reduced-motion switches.
- Benford & round numbersBenford and round-number tests that point at the rows to pull first.
- 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
npx shadcn add @lopifi/sampling-tool