A working starting point
npm install @birchui/react @birchui/core @birchui/grid-proShow data-grid.jsx
import { BirchGrid } from '@birchui/react';
import { AllProModules } from '@birchui/grid-pro';
const sales = [
{ id: 'SO-10421', region: 'Europe', country: 'France', year: 2026, revenue: 1890.5 },
{ id: 'SO-10422', region: 'Europe', country: 'Germany', year: 2025, revenue: 459 },
{ id: 'SO-10423', region: 'North America', country: 'Canada', year: 2026, revenue: 712.25 },
];
const columns = [
{ field: 'region', header: 'Region' },
{ field: 'country', header: 'Country' },
{ field: 'revenue', header: 'Revenue', type: 'number', aggFunc: 'sum' },
];
const groupBy = ['region', 'country'];
export function DataGrid() {
return (
<BirchGrid
style={{ height: 520 }}
licenseKey={'LQ1.your-key'}
modules={AllProModules}
columns={columns}
rows={sales}
groupBy={groupBy}
groupPanel
groupTotals
/>
);
}Measured in Chrome: grouping 100,000 rows takes 74–80 ms and the grid scrolls 1,000,000 rows.
How it fits React
Grid Pro adds the analytics modules to the free MIT grid: grouping with totals, tree data, range selection, clipboard, fill handle, master-detail and xlsx export. In React you pass the modules as an option; nothing else in your component changes.
The React adapter is a thin component around the data grid engine. Props that change by identity go to update(); the widget is never recreated, so StrictMode double effects and re-renders cost nothing.
Keep columns, option objects and callbacks stable at module scope or in useMemo, and pass a new array when rows change. The package ships the "use client" directive, so it drops into the Next.js App Router. On the server it renders an empty container.
Questions
Is the basic React data grid free?
Yes. Sorting, filtering, editing, virtualization, CSV export and keyboard navigation are MIT in @birchui/core. Grid Pro is the paid layer.
What happens without a license key?
Every feature keeps working. A small watermark and one console warning appear on non-local hosts.
Does the React data grid work with Next.js server components?
Render it from a client component. The adapter carries "use client", imports nothing from window, and mounts in a layout effect.
How do I reach the imperative API from React?
Pass a ref. It holds the widget API after mount and null after unmount, typed from your row or event type.
Same engine, other pairings
Every Birch UI product runs in every adapter.