Wardian docs

Trip Cost Splitter

Try it

The app runs here in your browser. Nothing you type leaves it. Open it on its own.

Download trip-cost-splitter.wardian Import it in Wardian: Settings → Import.

For groups sharing expenses on a trip. Add the people, record who paid for what, and see who owes whom.

What you put in#

What it shows#

How it behaves#

Layout#

Aside: "Setup"

Add expense dialog:

Main: "Balances & Settlement"

Main: "Details by Person"

Main: "Export"

Markdown export format:

# Trip Settlement

**Currency:** [CODE]

## Balances
- [Name]: +[amount] [currency] (or -[amount])
- ...

## Settlement Plan
1. [Name] pays [Name] [amount] [currency]
2. ...

(or "All settled up!" if no payments needed)

Tab order: Currency field, person name field, add person button, add expense button, expense delete buttons (newest first), balances panel, person tabs, export button

Validation: All fields validate on change after first blur, and on submit. Invalid input does not clear the field. No results calculated from invalid input. Errors appear below fields with aria-invalid and aria-describedby.

Responsive: All panels stack at 360px. Fields use size classes. The aside is full width on narrow screens, main panels stack below.

Colors and spacing: From design tokens only. Cards are w-card w-glass. Spacing uses --w-space-3 to --w-space-5 between sections and elements.

This page is apps/trip-cost-splitter/README.md in the repository. Something wrong or missing? Change that file.