This is the React + TypeScript frontend for the UK Tax Calculator. It provides a user-friendly interface to calculate personal income tax based on UK tax bands and allowances.
📦 This repo includes only the frontend. The original .NET backend has been excluded.
- Built with React, TypeScript, and Vite
- Configured as a Progressive Web App with offline support
- Interactive form for entering income details
- Real-time calculation of tax liabilities
- Support for:
- Salary
- Rental income
- Pension income
- Dividends
- Untaxed savings interest
- Visual breakdown of tax bands and allowances
- Designed for UK tax rules (up to the 2025/26 tax year)
- In-memory calculator that always starts with clean defaults
pnpm installpnpm devpnpm build
pnpm preview- Open the app in Safari on iOS or any modern browser.
- Tap the share button and choose Add to Home Screen to install.
The site is published at https://john-bell.github.io/taxcalc/. Deep links remain functional thanks to the GitHub Pages 404 fallback and client-side redirect restoration.