AccountCard
Bank account with available vs. current.
npx shadcn add @lopifi/account-cardExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Reauthorization required
The bank revoked consent, so there is no balance to show — n/a, never $0.00.
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.
Bank account: institution mark, masked number, type, available and current balances, sync status. Tapping opens the transaction list filtered to it.
Shows disconnected and reauth-required states prominently, because a stale connection quietly showing an old balance is a real financial hazard. Stale accounts dim and offer a "Reconnect" action.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Cards
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section AccountCard renders in, the calculators behind its figures, and the ledger payloads that feed it.
- AccountCard, runningThe cards showcase — live, with theme, density, grayscale and reduced-motion switches.
- Chart of accountsHow does each ledger model an account?
- CardsAll cards: 24px radius, 24px inset, --surface on --canvas, 1px --border, no resting shadow. Specs for 11 React components: BalanceCard, KpiCard, AccountCard, PaymentMethodCard and 7 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 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