Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
// The page title block every hub surface opens with: H1 + intro lead, optional
// right-aligned aside (usually a <ProgressPill>). Feed `title`/`lead` from
// PAGE_COPY so the wording lives in the content layer.
import type { ReactNode } from "react";
export function PageHeader({
title,
lead,
aside
}: {
title: ReactNode;
lead?: ReactNode;
aside?: ReactNode;
}) {
return (
<header className="flex items-start justify-between gap-4">
<div className="flex flex-col gap-2">
<h1 className="text-2xl font-semibold tracking-tight">{title}</h1>
{lead != null ? (
<p className="text-sm text-muted-foreground max-w-2xl text-pretty">
{lead}
</p>
) : null}
</div>
{aside != null ? <div className="shrink-0">{aside}</div> : null}
</header>
);
}