CovenantMonitor
The contractual definition, not the generic one.
npx shadcn add @lopifi/covenant-monitorExamples
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.
Per-covenant: the contractual definition (lenders define EBITDA with specific add-backs), the computed value, the threshold, the headroom, and the next test date.
The number here may legitimately differ from the dashboard's EBITDA because the credit agreement defines it differently. That's not a bug, and the component says so on the card.
Headroom under 20% is --warning; a breach is --negative. The numeric headroom is always shown, never color alone.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Metrics & analysis
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section CovenantMonitor renders in, the calculators behind its figures, and the ledger payloads that feed it.
- CovenantMonitor, runningThe metrics showcase — live, with theme, density, grayscale and reduced-motion switches.
- Loan amortizationA level-payment schedule whose last payment clears the balance to the cent.
- Effective vs nominal rateTurn a nominal rate into the effective annual rate it compounds to.
- Metrics & analysisMetrics & analysis — specs for 13 React components: MetricDefinition, NonGaapReconciliation, MrrBridge, BudgetVsActual and 9 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 Metrics & analysis changes
Your copy doesn’t update itself when we fix something here.
- One email when a Metrics & analysis component needs a migration
- Nothing when nothing changes
Or install it now