EntitySelector
Explicit scope. Standalone vs. consolidated visually distinct.
npx shadcn add @lopifi/entity-selectorExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
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.
Explicit scope, never inferred from a default. Standalone and consolidated look different, not only labeled differently. The consolidated view carries a persistent scope chip. Entity switching is a full context change: nothing animates, every cached figure invalidates.
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 EntitySelector renders in, the calculators behind its figures, and the ledger payloads that feed it.
- EntitySelector, runningThe close showcase — live, with theme, density, grayscale and reduced-motion switches.
- Tenancy and multi-entityWhat is the boundary of one set of books?
- 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