Household burn card
Where the money goes each month, income in, spending categories out, and what is left over, with the key insight up front.
Household spend
£5,400
+£180 avg
Your spending leaves about 34% of your income unspent each month, around £2,800.
A month, averaged over 3 observed months of transactions.
Where your money goes
July so far
£3,900
June
£5,600
May
£5,200
<HouseholdBurnCard data={burn} />Usage
import { HouseholdBurnCard, type HouseholdBurnData } from "@reva/ui";Renders the show_household_burn tool output. data is the tool's payload (HouseholdBurnData, wire field names, decimal-string amounts). When the payload carries both recorded income and bank spend categories, the card draws a Sankey flow: income sources into the household, out to the categories, the unnamed remainder, and whatever is left over. The server-computed insight line ("your spending leaves 34% unspent") leads under the headline. Without income the card falls back to the classic stacked category bar, and a recorded-figures household gets the headline with an income and left-over stat pair.
Examples
Spending ahead of income
A negative leftover drops the "Left over" node; the insight line carries the overspend.
Household spend
£8,900
+£180 avg
Your spending is running about £700 a month ahead of your recorded income.
A month, averaged over 3 observed months of transactions.
Where your money goes
July so far
£3,900
June
£5,600
May
£5,200
<HouseholdBurnCard data={overspending} />Recorded figures only
No bank feed: headline plus the income and left-over stats, no flow or months.
Household spend
£4,200
Your spending leaves about 35% of your income unspent each month, around £2,300.
A month, from what you told us. Connect a bank for the full picture.
Recorded income
£6,500 a month
Left over
£2,300 a month
<HouseholdBurnCard data={recorded} />No income on record
Categories without income fall back to the stacked bar, with the pace trend as the insight.
Household spend
£5,400
+£180 avg
A month, averaged over 3 observed months of transactions.
July so far
£3,900
June
£5,600
May
£5,200
Where it goes
- Housing£1.7k
- Groceries£950
- Transport£620
- Dining out£540
- Subscriptions£310
- Everything else£1.3k
<HouseholdBurnCard data={spendOnly} />Props
| Prop | Type | Description |
|---|---|---|
data | HouseholdBurnData | The show_household_burn payload, wire field names. |