Cash overview
Operating account · USD
Closing balance
$193,270October 31, 2026- Opening balance
- $151,570
- Money in
- +$75,700
- Money out
- −$34,000
- Closing balance
Inspect a point or use the arrow keys
View chart data
| Category | Closing balance |
|---|---|
| Oct 1 | $151,570 |
| Oct 8 | $176,370 |
| Oct 15 | $163,970 |
| Oct 22 | $182,470 |
| Oct 31 | $193,270 |
Transactions
Initial server-rendered HTML
<div id="business-layout" class="bu-layout bu-finance" hx-target="#business-layout" hx-select="#business-layout" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#business-layout:replace"><header class="bu-head"><div><h1>Cash overview</h1><p>Operating account · USD</p></div><nav class="bu-pills" aria-label="Statement month"><a class="" href="/layouts/finance?period=2026-08" hx-get="/layouts/finance?period=2026-08" id="period-2026-08" aria-label="August 2026">Aug</a><a class="" href="/layouts/finance?period=2026-09" hx-get="/layouts/finance?period=2026-09" id="period-2026-09" aria-label="September 2026">Sep</a><a class="" href="/layouts/finance?period=2026-10" hx-get="/layouts/finance?period=2026-10" aria-current="true" id="period-2026-10" aria-label="October 2026">Oct</a></nav></header>
<div class="bu-finance-summary"><section class="bu-balance" aria-label="Monthly balance"><p>Closing balance</p><strong>$193,270</strong><span>October 31, 2026</span>
<dl class="bu-cash-movements"><div class=""><dt>Opening balance</dt><dd>$151,570</dd></div><div class="bu-income"><dt>Money in</dt><dd>+$75,700</dd></div><div class=""><dt>Money out</dt><dd>−$34,000</dd></div></dl></section><div class="bu-chart"><figure class="rl-plot" data-rl-chart="area">
<figcaption><strong>Operating balance</strong></figcaption>
<ul class="rl-plot-legend" aria-label="Series"><li><i class="rl-plot-tone-0" aria-hidden="true"></i>Closing balance</li></ul>
<svg viewBox="0 0 495 188" role="group" aria-label="Operating balance"><desc>Use the arrow keys to explore values. Open the data table for all values.</desc><line class="rl-plot-grid" x1="42" x2="480" y1="155" y2="155"/><text class="rl-plot-axis" x="35" y="159" text-anchor="end">$0</text><line class="rl-plot-grid" x1="42" x2="480" y1="85.5" y2="85.5"/><text class="rl-plot-axis" x="35" y="89.5" text-anchor="end">$97K</text><line class="rl-plot-grid" x1="42" x2="480" y1="16" y2="16"/><text class="rl-plot-axis" x="35" y="20" text-anchor="end">$193K</text><text class="rl-plot-axis" x="85.8" y="179" text-anchor="middle">Oct 1</text><text class="rl-plot-axis" x="173.4" y="179" text-anchor="middle">Oct 8</text><text class="rl-plot-axis" x="261" y="179" text-anchor="middle">Oct 15</text><text class="rl-plot-axis" x="348.6" y="179" text-anchor="middle">Oct 22</text><text class="rl-plot-axis" x="436.2" y="179" text-anchor="middle">Oct 31</text><path class="rl-plot-area rl-plot-tone-0" d="M85.8,45.99 L173.4,28.15 L261,37.07 L348.6,23.77 L436.2,16 L436.2,155 L85.8,155 Z"/><polyline class="rl-plot-line rl-plot-tone-0" points="85.8,45.99 173.4,28.15 261,37.07 348.6,23.77 436.2,16"/><g class="rl-plot-point rl-plot-tone-0" tabindex="0" role="img" aria-label="Oct 1 · Closing balance: $151,570" data-rl-series="0" data-rl-plot-value="Oct 1 · Closing balance: $151,570"><circle cx="85.8" cy="45.99" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="85.8" cy="45.99" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Oct 8 · Closing balance: $176,370" data-rl-series="0" data-rl-plot-value="Oct 8 · Closing balance: $176,370"><circle cx="173.4" cy="28.15" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="173.4" cy="28.15" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Oct 15 · Closing balance: $163,970" data-rl-series="0" data-rl-plot-value="Oct 15 · Closing balance: $163,970"><circle cx="261" cy="37.07" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="261" cy="37.07" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Oct 22 · Closing balance: $182,470" data-rl-series="0" data-rl-plot-value="Oct 22 · Closing balance: $182,470"><circle cx="348.6" cy="23.77" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="348.6" cy="23.77" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Oct 31 · Closing balance: $193,270" data-rl-series="0" data-rl-plot-value="Oct 31 · Closing balance: $193,270"><circle cx="436.2" cy="16" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="436.2" cy="16" r="3.8"/></g></svg>
<span class="rl-plot-tooltip" data-rl-plot-tooltip aria-hidden="true" hidden></span>
<div class="rl-plot-readout" data-rl-plot-readout>Inspect a point or use the arrow keys</div>
<details class="rl-plot-data"><summary>View chart data</summary><div><table class="rl-table"><caption>Operating balance</caption><thead><tr><th scope="col">Category</th><th scope="col">Closing balance</th></tr></thead>
<tbody><tr><th scope="row">Oct 1</th><td>$151,570</td></tr><tr><th scope="row">Oct 8</th><td>$176,370</td></tr><tr><th scope="row">Oct 15</th><td>$163,970</td></tr><tr><th scope="row">Oct 22</th><td>$182,470</td></tr><tr><th scope="row">Oct 31</th><td>$193,270</td></tr></tbody></table></div></details>
</figure></div></div>
<header class="bu-filter-row"><h2>Transactions</h2><span class="bu-meta">October 2026 · 5 entries</span></header>
<div class="bu-transactions"><div class="bu-transaction bu-expanded"><a class="bu-posting" href="/layouts/finance?period=2026-10" hx-get="/layouts/finance?period=2026-10" aria-current="true" id="posting-FW-106" aria-label="Close Forma Works transaction"><span class="bu-transfer bu-income" aria-hidden="true">↙</span><span class="bu-company"><strong>Forma Works</strong><small>Client payment</small></span><time datetime="2026-10-29">Oct 29, 2026</time><b class="bu-income">+$32,400</b><span class="bu-chevron" aria-hidden="true"></span></a>
<dl aria-label="Transaction details" class="bu-posting-details"><div class=""><dt>Reference</dt><dd>FW-106</dd></div><div class=""><dt>Posted</dt><dd>Oct 29, 2026</dd></div><div class=""><dt>Direction</dt><dd>Incoming transfer</dd></div><div class=""><dt>Status</dt><dd>Settled</dd></div></dl></div><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-10&transaction=PR-010" hx-get="/layouts/finance?period=2026-10&transaction=PR-010" id="posting-PR-010" aria-label="View Studio payroll transaction"><span class="bu-transfer " aria-hidden="true">↗</span><span class="bu-company"><strong>Studio payroll</strong><small>Payroll</small></span><time datetime="2026-10-23">Oct 23, 2026</time><b class="">−$21,600</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-10&transaction=SW-182" hx-get="/layouts/finance?period=2026-10&transaction=SW-182" id="posting-SW-182" aria-label="View Stillwater transaction"><span class="bu-transfer bu-income" aria-hidden="true">↙</span><span class="bu-company"><strong>Stillwater</strong><small>Client payment</small></span><time datetime="2026-10-16">Oct 16, 2026</time><b class="bu-income">+$18,500</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-10&transaction=MS-641" hx-get="/layouts/finance?period=2026-10&transaction=MS-641" id="posting-MS-641" aria-label="View Morrow Supply transaction"><span class="bu-transfer " aria-hidden="true">↗</span><span class="bu-company"><strong>Morrow Supply</strong><small>Materials</small></span><time datetime="2026-10-09">Oct 9, 2026</time><b class="">−$12,400</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-10&transaction=UH-135" hx-get="/layouts/finance?period=2026-10&transaction=UH-135" id="posting-UH-135" aria-label="View Union House transaction"><span class="bu-transfer bu-income" aria-hidden="true">↙</span><span class="bu-company"><strong>Union House</strong><small>Project deposit</small></span><time datetime="2026-10-02">Oct 2, 2026</time><b class="bu-income">+$24,800</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div></div></div>HTTP exchange
Use the preview to see the request and the HTML your server returns.Use in your app
GET /layouts/finance takes period and transaction query parameters. Return #business-layout to update the balance, chart and ledger together. The example calculates all three from the same postings.
Serve these assets from the download’s public/ directory. Add the tags to your page head.
Page assets
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-insights.css">
<link rel="stylesheet" href="/business-layouts.css">
<script defer src="/vendor/htmx.min.js"></script>
<script defer src="/mero.js"></script>
<script defer src="/mero-insights.js"></script>Server source · site/business-layouts.mjs
Download full example source ↓