Accounting · Expenses & parties
PartyOverviewHeader
Top of a customer or vendor page: breadcrumb, name with Inactive chip, Statement and New invoice/New bill actions, the four position KPIs (owes, overdue since, open items, 12-month total) and Activity / Ledger / Details tabs with the terms fact strip.
import { PartyOverviewHeader } from "@cynco-labs/ui"; Example
import { PartyOverviewHeader } from "@cynco-labs/ui";
export default function PartyOverviewHeaderDemo() {
return (
<PartyOverviewHeader
role="customer"
name="Kedai Runcit Mesra Sdn Bhd"
balance={48250.4}
overdue={12680}
overdueSince="2026-08-15"
openCount={7}
trendTotal={186420.75}
paymentTerms="Net 30"
category="Retail"
since="2024-03-11"
/>
);
} Use
Customer and vendor party pages (CustomerPartyPage / VendorPartyPage).
Props
role, name, isActive, balance, overdue, overdueSince, openCount, trendTotal, paymentTerms, category, since, currency, tab, onTabChange; className and native div props.
Notes
Responsive by container: KPIs are a StatGrid (four-up from 48rem, wrapping below); tabs scroll sideways in a ScrollRow.