RunwayCard
Months of runway with a burn line.
npx shadcn add @lopifi/runway-cardExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Healthy runway
Above the warning threshold the card carries no pill; the dashed segment is still a projection.
Critical
Under three months the figure turns negative and the pill says overdue, in words as well as color.
Your own thresholds
Six and three months are defaults, not truths: a company raising next year may warn at twelve.
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.
Months of runway, current cash, monthly burn, projected zero date. A burn line with a projection segment rendered dashed, because a projection is not a fact.
polarity="inverted" on burn. Runway under 6 months triggers --warning; under 3, --negative. The thresholds are configurable because they're a business judgment.
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 RunwayCard renders in, the calculators behind its figures, and the ledger payloads that feed it.
- RunwayCard, runningThe cards showcase — live, with theme, density, grayscale and reduced-motion switches.
- Annual vs monthly billingWhat paying a year up front really costs: the premium for monthly, the break-even month and the interest rate the discount works out to.
- 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