Skip to content

What-If Simulator

An interactive scenario planning tool. Adjust income and category-level expenses with sliders to see how changes would affect your runway, tax, cashflow, and spending radar in real time.

What It Shows

ElementDetail
Active/inactive toggleSimulator must be explicitly activated before changes take effect
Preset scenariosGrid of one-click presets (e.g., "Job loss", "Cut subscriptions")
Income sliderAdjusts total income from -100% to +100%
Expense sliders8 category-specific sliders, each -100% to +100%
Impact summaryMonthly Delta (NZD) and Runway Delta (months)
Reset All buttonReturns all sliders to 0%

Expense Category Sliders

Category
Groceries
Dining
Fuel
Transport
Utilities
Subscriptions
Shopping
Entertainment

Each slider ranges from -100% (eliminate entirely) to +100% (double the spending).

Key Features

  • Explicit activation -- The simulator does nothing until toggled on. This prevents accidental modification of downstream panels.
  • Preset scenarios -- One-click presets that configure multiple sliders at once for common what-if questions.
  • Real-time propagation -- Slider changes immediately update all connected panels without requiring a confirm step.
  • Impact summary -- Two headline numbers show the combined effect:
    • Monthly Delta -- How much more or less you would have per month (NZD).
    • Runway Delta -- How many more or fewer months your savings would last.
  • Custom-styled range inputs -- Slider tracks use a CSS gradient fill to visually indicate the adjustment direction.
  • Color-coded percentages -- Positive adjustments (savings) shown in green, negative (increased spending) in red.

Data Source

Store / HookFields
useFinanceStoresimulation (slider values, active state)
useSimulationComputed deltas, adjusted runway

Panels Affected

When the simulator is active, these panels react to the adjusted values:

PanelWhat Changes
Runway PanelRunway months + delta badge
Tax PanelIncome tax and GST estimates
Cashflow PanelForecast periods reflect adjusted income/expenses
Radar PanelCategory spending shape changes

Interactivity

ActionResult
Toggle activeEnables/disables all scenario adjustments
Drag income sliderAdjusts income percentage
Drag expense sliderAdjusts that category's expense percentage
Click presetApplies a predefined slider configuration
Click Reset AllReturns all sliders to 0%