SubscriptionCard
Recurring charge with next-billing.
npx shadcn add @lopifi/subscription-cardExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Quarterly
The caller annualizes; the card does no arithmetic, so the figure matches the budget it came from.
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.
Vendor mark, amount, cadence, next charge, annualized cost. Annualized is the useful number. $49/mo is $588/yr, and that's the figure a spend review acts on.
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 SubscriptionCard renders in, the calculators behind its figures, and the ledger payloads that feed it.
- SubscriptionCard, runningThe cards showcase — live, with theme, density, grayscale and reduced-motion switches.
- 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