BusinessCraft component

BC Grid is the shared grid surface for BusinessCraft.

Use this demo to choose the right grid mode for ERP screens: read-heavy lists, editable maintenance views, server-backed row models, and spreadsheet workflows.

30
Demo routes
5
Guide pages
3
Primary components
tsx
import { BcGrid, type BcGridColumn } from "@bc-grid/react";
import "@bc-grid/theming/styles.css";

type CustomerRow = {
  account: string;
  name: string;
  balance: number;
};

const columns: BcGridColumn<CustomerRow>[] = [
  { field: "account", header: "Account", pinned: "left", format: "code" },
  { field: "name", header: "Name", filter: { type: "text" } },
  { field: "balance", header: "Balance", align: "right", format: "currency" },
];

export function CustomersGrid({ rows }: { rows: CustomerRow[] }) {
  return (
    <BcGrid
      ariaLabel="Customers"
      gridId="ar.customers"
      rowId={(row) => row.account}
      columns={columns}
      data={rows}
    />
  );
}

Read surface

Start with a virtualized grid, then add sort, filters, pinning, grouping, and saved views.

Open basic grid

Editable surface

Use typed editors, validation, dirty state, undo/redo, and row actions for in-place maintenance screens.

Open edit grid

Server-backed surface

Use paged, infinite, or tree row models when the screen is backed by legacy-sized tables.

Open row model guide

Everything else is in the sidebar.

The left navigation lists every demo directly. No drill-in step, no hidden module level, and no homepage catalogue to scan before you can get to work.

Use search for a specific feature, or pick a section from the flat menu: foundations, read surfaces, editing, server/state, spreadsheet flows, and chrome.