GoalCard
Target vs. actual with a progress rule.
npx shadcn add @lopifi/goal-cardHow 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.
Target vs. actual with a progress rule (a rule line, not a rounded progress bar, to match the statement grammar).
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Cards
BalanceCardThe hero: one trusted number.
KpiCardMetric + delta + optional sparkline.
AccountCardBank account with available vs. current.
PaymentMethodCardThe physical card object. 3D flip, pointer tilt.
RunwayCardMonths of runway with a burn line.
InvoiceCardInvoice summary with aging state.
SubscriptionCardRecurring charge with next-billing.
AnomalyCardA flagged deviation with its explanation.
StatCardThe minimal label+value card.
CardStatementStatement balance, minimum due, due date, limit and available — the issuer's statement.
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section GoalCard 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 Cards changes
Your copy doesn’t update itself when we fix something here.
- One email when a Cards component needs a migration
- Nothing when nothing changes
Or install it now