Cash overview
Operating account · USD
Closing balance
$119,540August 31, 2026- Opening balance
- $86,400
- Money in
- +$55,300
- Money out
- −$22,160
- Closing balance
Inspect a point or use the arrow keys
View chart data
| Category | Closing balance |
|---|---|
| Aug 1 | $86,400 |
| Aug 8 | $105,000 |
| Aug 15 | $102,140 |
| Aug 22 | $116,440 |
| Aug 31 | $119,540 |
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" aria-current="true" 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" 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>$119,540</strong><span>August 31, 2026</span>
<dl class="bu-cash-movements"><div class=""><dt>Opening balance</dt><dd>$86,400</dd></div><div class="bu-income"><dt>Money in</dt><dd>+$55,300</dd></div><div class=""><dt>Money out</dt><dd>−$22,160</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">$60K</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">$120K</text><text class="rl-plot-axis" x="85.8" y="179" text-anchor="middle">Aug 1</text><text class="rl-plot-axis" x="173.4" y="179" text-anchor="middle">Aug 8</text><text class="rl-plot-axis" x="261" y="179" text-anchor="middle">Aug 15</text><text class="rl-plot-axis" x="348.6" y="179" text-anchor="middle">Aug 22</text><text class="rl-plot-axis" x="436.2" y="179" text-anchor="middle">Aug 31</text><path class="rl-plot-area rl-plot-tone-0" d="M85.8,54.53 L173.4,32.91 L261,36.23 L348.6,19.6 L436.2,16 L436.2,155 L85.8,155 Z"/><polyline class="rl-plot-line rl-plot-tone-0" points="85.8,54.53 173.4,32.91 261,36.23 348.6,19.6 436.2,16"/><g class="rl-plot-point rl-plot-tone-0" tabindex="0" role="img" aria-label="Aug 1 · Closing balance: $86,400" data-rl-series="0" data-rl-plot-value="Aug 1 · Closing balance: $86,400"><circle cx="85.8" cy="54.53" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="85.8" cy="54.53" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Aug 8 · Closing balance: $105,000" data-rl-series="0" data-rl-plot-value="Aug 8 · Closing balance: $105,000"><circle cx="173.4" cy="32.91" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="173.4" cy="32.91" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Aug 15 · Closing balance: $102,140" data-rl-series="0" data-rl-plot-value="Aug 15 · Closing balance: $102,140"><circle cx="261" cy="36.23" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="261" cy="36.23" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Aug 22 · Closing balance: $116,440" data-rl-series="0" data-rl-plot-value="Aug 22 · Closing balance: $116,440"><circle cx="348.6" cy="19.6" r="9" fill="transparent"/><circle class="rl-plot-dot" cx="348.6" cy="19.6" r="3.8"/></g><g class="rl-plot-point rl-plot-tone-0" tabindex="-1" role="img" aria-label="Aug 31 · Closing balance: $119,540" data-rl-series="0" data-rl-plot-value="Aug 31 · Closing balance: $119,540"><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">Aug 1</th><td>$86,400</td></tr><tr><th scope="row">Aug 8</th><td>$105,000</td></tr><tr><th scope="row">Aug 15</th><td>$102,140</td></tr><tr><th scope="row">Aug 22</th><td>$116,440</td></tr><tr><th scope="row">Aug 31</th><td>$119,540</td></tr></tbody></table></div></details>
</figure></div></div>
<header class="bu-filter-row"><h2>Transactions</h2><span class="bu-meta">August 2026 · 5 entries</span></header>
<div class="bu-transactions"><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-08&transaction=UH-121" hx-get="/layouts/finance?period=2026-08&transaction=UH-121" id="posting-UH-121" 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-08-28">Aug 28, 2026</time><b class="bu-income">+$22,400</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div><div class="bu-transaction bu-expanded"><a class="bu-posting" href="/layouts/finance?period=2026-08" hx-get="/layouts/finance?period=2026-08" aria-current="true" id="posting-PR-008" aria-label="Close 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-08-24">Aug 24, 2026</time><b class="">−$19,300</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>PR-008</dd></div><div class=""><dt>Posted</dt><dd>Aug 24, 2026</dd></div><div class=""><dt>Direction</dt><dd>Outgoing 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-08&transaction=AF-043" hx-get="/layouts/finance?period=2026-08&transaction=AF-043" id="posting-AF-043" aria-label="View Arc & Field transaction"><span class="bu-transfer bu-income" aria-hidden="true">↙</span><span class="bu-company"><strong>Arc & Field</strong><small>Client payment</small></span><time datetime="2026-08-18">Aug 18, 2026</time><b class="bu-income">+$14,300</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-08&transaction=LF-912" hx-get="/layouts/finance?period=2026-08&transaction=LF-912" id="posting-LF-912" aria-label="View Linehaul Freight transaction"><span class="bu-transfer " aria-hidden="true">↗</span><span class="bu-company"><strong>Linehaul Freight</strong><small>Shipping</small></span><time datetime="2026-08-12">Aug 12, 2026</time><b class="">−$2,860</b><span class="bu-chevron" aria-hidden="true"></span></a>
</div><div class="bu-transaction"><a class="bu-posting" href="/layouts/finance?period=2026-08&transaction=FW-081" hx-get="/layouts/finance?period=2026-08&transaction=FW-081" id="posting-FW-081" aria-label="View 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-08-05">Aug 5, 2026</time><b class="bu-income">+$18,600</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 ↓