Documentation
Ledger — Finance Dashboard
Version 1.0.0 · Vanilla HTML · 15 files · 208 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 15 files:
- LICENSE.txt1.9 KB
- README.md2.9 KB
- assets/css/style.css19 KB
- assets/fonts/fraunces-LICENSE.txt4.4 KB
- assets/fonts/fraunces-latin-wght-italic.woff245 KB
- assets/fonts/fraunces-latin-wght-normal.woff236 KB
- assets/fonts/manrope-LICENSE.txt4.3 KB
- assets/fonts/manrope-latin-wght-normal.woff224 KB
- assets/images/favicon.svg305 B
- assets/js/main.js26 KB
- assets/vendor/chartjs/LICENSE.txt1.1 KB
- assets/vendor/chartjs/chart.umd.min.js205 KB
- documentation/index.html12 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html12 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--forest#0f3d3e--forest-deep#0a2c2d--forest-soft#1c5254--cream#f7f3e9--paper#fffdf7--gold#d4a017--gold-soft#f0dca0--ink#26292a--muted#5e5a4d--line#e4dcc7--pos#1f6b46--neg#9a3b2a
Interactive features
Add transaction
The dialog is the #tx-modal element; submission is handled in initModal() in assets/js/main.js, which pushes to the txs array and calls renderAll(). Replace that push with a request to your backend, then re-render.
Cash-flow toggle
The Both, Income and Expenses buttons set state.series; renderFlow() shows or hides the Chart.js datasets. Add a dataset in renderFlow() to plot another series.
Budgets and categories
Categories, colours and monthly budget limits are defined in the CATEGORIES object. Add a category there and it appears in the table filter, doughnut, budget list and modal automatically.
Transactions filters
Filtering and paging happen in filtered() and renderTable(). Change PAGE_SIZE to show more rows per page.
Mark bill paid
Bills are in the BILLS array. Marking one paid removes it and posts an expense dated TODAY, the fixed demo date near the top of main.js.
Customisation notes
Change the gold accent
--gold in the :root block of assets/css/style.css colours buttons, the Savings card and the gold bars; the chart hex values in main.js (#d4a017) should match.
Edit accounts and opening balances
ACCOUNTS holds each account's name, last four digits and opening balance. Balances are the opening balance plus that account's transactions.
Set today's date
TODAY in main.js fixes the demo date at 24 November 2026 so bills and months stay consistent. Use new Date() once you connect real data.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- All accounts, transactions, budgets and bills are generated sample data.
- The add-transaction form and Mark paid change figures in the page only; nothing is stored or sent, and a reload resets the demo.
- The investment account balance is a fixed demo value.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Fraunces typeface — OFL-1.1 (
assets/fonts/fraunces-LICENSE.txt) - Manrope typeface — OFL-1.1 (
assets/fonts/manrope-LICENSE.txt) - Chart.js 4.6.1 — MIT (
assets/vendor/chartjs/LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.