# Introduction

> What Birch UI is, which products it includes, and what is free versus paid.

Birch UI is a set of JavaScript components for data-heavy business applications: a data grid, an analytics layer on top of it, a pivot report builder, an Excel engine, a resource scheduler, a Gantt chart, an event calendar, charts, a diagram editor, a spreadsheet, and a form renderer with a visual form builder. Every product is written once in vanilla TypeScript and works the same in React, Vue, Angular, Svelte, Solid, as a Web Component, or with no framework at all.

The core grid and the form renderer are MIT-licensed and free. The paid products are a **one-time purchase per developer with free updates forever**, including major versions. There is no subscription, no renewal and no limit on apps or end users.

**Live demo: Orders grid** (runs on the HTML version of this page). Source of `demos/basic-grid.ts`. Imports from `./_shared` and `./_scheduler-data` are sample data and small UI helpers used only by the docs.

```ts
import { createGrid, type ColumnDef } from '@birchui/core';
import { docsTheme, formatCurrency, makeOrders, onDocsThemeChange, revenueOf, type Order } from './_shared';

export const meta = { title: 'Orders grid', height: 420 };

const columns: ColumnDef<Order>[] = [
  { field: 'id', header: 'Order', width: 110 },
  { field: 'customer', header: 'Customer', flex: 1, minWidth: 180 },
  { field: 'region', header: 'Region', width: 140 },
  { field: 'product', header: 'Product', width: 190 },
  { field: 'quantity', header: 'Qty', type: 'number', width: 80 },
  { id: 'revenue', header: 'Revenue', type: 'number', width: 120, valueGetter: revenueOf, format: formatCurrency },
  { field: 'orderDate', header: 'Ordered', type: 'date', width: 120 },
];

export default function mount(el: HTMLElement): () => void {
  const grid = createGrid<Order>(el, {
    columns,
    rows: makeOrders(500),
    getRowId: (order) => order.id,
    theme: docsTheme(),
    ariaLabel: 'Customer orders',
  });
  const stopTheme = onDocsThemeChange((theme) => grid.update({ theme }));
  return () => {
    stopTheme();
    grid.destroy();
  };
}
```

## Products

| Product | Package | License | What it does |
| --- | --- | --- | --- |
| Birch UI Grid | `@birchui/core` | MIT, free | Virtualized data grid: sorting, filtering, quick filter, inline editing, column resize, reorder, pin and hide, row selection, pagination, CSV export, keyboard navigation and ARIA, light and dark themes. |
| Grid Pro | `@birchui/grid-pro` | Commercial, $349 | Row grouping, aggregation, tree data, pivot mode, range selection, clipboard copy and paste, fill handle, master/detail, status bar, styled Excel export and import. |
| Pivot Studio | `@birchui/pivot-studio` | Commercial, $349 | A pivot-first report builder for embedded analytics: drag fields into rows, columns, values and filters, with subtotals, drill-through, conditional formatting, saved reports, styled Excel export and optional pivot charts. Runs in the browser with no server. |
| Excel Engine | `@birchui/excel` | Commercial, $299, included with Grid Pro | Standalone xlsx writer and reader with styles, number formats, merged cells, freeze panes, outlines and autofilter. Runs in a worker or in Node. |
| Scheduler | `@birchui/scheduler` | Commercial, $399 | Resource timeline with drag, resize and drag-to-create, snapping, zoom presets, overlap lanes, working-time shading, time zones and virtualization in both directions. |
| Gantt | `@birchui/gantt` | Commercial, $399 | Project scheduling with a task tree and timeline: critical-path scheduling on working calendars, FS, SS, FF and SF links with lag, constraints, baselines, MS Project XML import and export, and a headless engine. Its task grid is the free Birch UI Grid, so it needs no Grid Pro license. |
| Event Calendar | `@birchui/calendar` | Commercial, $299 | Month, week, day, N-day, agenda and year views with RFC 5545 recurrence, IANA time zones, iCalendar import and export, and drag, resize and select-to-create. |
| Charts | `@birchui/charts` | Commercial, $299 | Canvas charts: line, area, column and bar, scatter and bubble, pie and donut, heatmap, combination charts with a secondary axis, and sparklines. SVG and PNG export, and charts from a Grid Pro range. |
| Diagram | `@birchui/diagram` | Commercial, $399 | Flow and diagram editor with ports, orthogonal edge routing around obstacles, layered, tree, force and grid auto-layout, groups and swimlanes, a minimap, undo and redo, and SVG, PNG and JSON export. |
| Spreadsheet | `@birchui/spreadsheet` | Commercial, $399 | Embeddable spreadsheet with an Excel-compatible formula engine (over 300 functions, dynamic arrays, incremental recalculation), a virtualized keyboard-complete component and `.xlsx` round-trips. |
| Forms | `@birchui/forms` | MIT, free | Renders accessible multi-page forms from a JSON schema, with conditional logic, computed fields, repeatable sections, validation, i18n, and JSON Schema import and export. |
| Form Builder | `@birchui/forms/builder` | Commercial, $349 | A visual, keyboard-accessible designer for form schemas, with drag and drop, a property panel, an expression editor, undo and redo, a JSON view and a live preview. |
| Framework adapters | `@birchui/react`, `vue`, `angular`, `svelte`, `solid`, `element` | MIT, free | Thin wrappers that turn the grid and scheduler into native components for your framework. The same factories wrap Pivot Studio, Gantt, the Event Calendar, Charts, Diagram, Spreadsheet, Forms and the Form Builder. |
| License | `@birchui/license` | MIT, free | Offline key verification. Installed automatically with the paid packages. |

See [Pricing](https://docs.birchui.com/getting-started/pricing.md) for seat tiers and bundles.

## Free and paid features

Birch UI Grid covers what most CRUD screens and admin tables need. Grid Pro adds the features that turn a table into an analysis tool. The split is by feature, not by row count or performance: the free grid scrolls a million rows just as fast as the paid one.

| You need | Free grid | Grid Pro |
| --- | --- | --- |
| Large datasets with row and column virtualization | Yes | Yes |
| Sorting, multi-column sorting, filters, quick filter | Yes | Yes |
| Inline editing with text, number, select, checkbox and date editors | Yes | Yes |
| Pinned, resizable, reorderable and hideable columns | Yes | Yes |
| Row selection with checkboxes, pagination, CSV export | Yes | Yes |
| Row grouping with a drag-and-drop group panel | | Yes |
| Aggregation (`sum`, `avg`, `min`, `max`, `count`, `first`, `last`, `distinct`, custom) | | Yes |
| Tree data and pivot tables with totals | | Yes |
| Range selection, clipboard copy and paste, fill handle | | Yes |
| Master/detail rows, status bar | | Yes |
| Styled Excel export and import | | Yes |

Paid features are never locked. Without a license key they work fully: widgets show a small watermark on non-local hosts, and the Excel Engine only logs a console warning. Read [Licensing and activation](https://docs.birchui.com/getting-started/licensing.md) for the details.

## How it is built

Every Birch UI product follows one widget contract. You create a widget on a container element and get back an object you can update, listen to and destroy:

```ts title="orders-grid.ts"
import { createGrid } from '@birchui/core';

interface Order {
  id: string;
  customer: string;
  region: 'EMEA' | 'Americas' | 'APAC';
  total: number;
}

const grid = createGrid<Order>(document.querySelector('#orders')!, {
  columns: [
    { field: 'id', header: 'Order', width: 120 },
    { field: 'customer', header: 'Customer', flex: 1 },
    { field: 'region', header: 'Region', filter: 'set' },
    { field: 'total', header: 'Total', type: 'number', align: 'right' },
  ],
  rows: [
    { id: 'SO-10421', customer: 'Northwind Traders', region: 'EMEA', total: 1840.5 },
    { id: 'SO-10422', customer: 'Contoso Ltd', region: 'Americas', total: 312 },
  ],
  getRowId: (order) => order.id,
});

grid.on('cellValueChanged', ({ row, colId, newValue }) => {
  console.info(`Order ${row.id}: ${colId} is now ${String(newValue)}`);
});

grid.update({ theme: 'dark' });
```

The framework adapters are small wrappers around this contract, so a feature that ships in the engine is available in every framework on the same day. The same applies to every other product: `createScheduler`, `createGantt`, `createPivotStudio`, `createCalendar`, `createChart`, `createDiagram`, `createSpreadsheet`, `createForm` and `createFormBuilder` all return widgets with the same `update`, `on` and `destroy` methods.

Other design rules you can rely on:

- **ESM only and tree-shakeable.** Paid features are separate modules that you register with `modules: [...]`, so you only ship what you use.
- **SSR-safe.** Importing a package never touches `window` or `document`. DOM work starts when you create a widget.
- **No Shadow DOM.** Your CSS reaches every cell. Theming uses CSS custom properties prefixed `--lq-`.
- **Accessible.** The grid follows the WAI-ARIA grid and treegrid patterns, keeps `aria-rowcount` and `aria-rowindex` correct while virtualized, and uses a roving tabindex.
- **Your callbacks cannot break the widget.** If an event listener, renderer or other callback throws, the error is reported with `console.error` and the widget keeps working.
- **No network calls.** License checks run offline in the browser.

## Where to go next

- [Installation](https://docs.birchui.com/getting-started/installation.md) lists the packages for each product and how styles are loaded.
- [Quick start](https://docs.birchui.com/getting-started/quick-start.md) builds the same orders grid in each framework.
- [Birch UI Grid overview](https://docs.birchui.com/grid/overview.md) walks through columns, rows, sorting, filtering and editing.
- [Grid Pro overview](https://docs.birchui.com/grid-pro/overview.md) covers grouping, pivoting and Excel export.
- [Pivot Studio overview](https://docs.birchui.com/pivot-studio/overview.md) covers the report builder for end users.
- [Scheduler overview](https://docs.birchui.com/scheduler/overview.md) covers the resource timeline.
- [Gantt overview](https://docs.birchui.com/gantt/overview.md) covers tasks, dependencies and the critical path.
- [Event Calendar overview](https://docs.birchui.com/calendar/overview.md) covers month, week, day, agenda and year views.
- [Charts overview](https://docs.birchui.com/charts/overview.md) covers chart types, axes and export.
- [Diagram overview](https://docs.birchui.com/diagram/overview.md) covers nodes, edges, routing and auto-layout.
- [Spreadsheet overview](https://docs.birchui.com/spreadsheet/overview.md) covers formulas, sheets and xlsx files.
- [Forms overview](https://docs.birchui.com/forms/overview.md) covers the free form renderer and the Form Builder.
- Switching from another grid? See [Migrating from AG Grid](https://docs.birchui.com/getting-started/migrating-from-ag-grid.md) or [Migrating from MUI X](https://docs.birchui.com/getting-started/migrating-from-mui-x.md).

> **Using a coding assistant?**
>
> Every page of these docs is also available as plain Markdown: add `.md` to the page URL, for example `/grid/sorting.md`. The [llms.txt](https://docs.birchui.com/llms.txt) file lists every page, and [llms-full.txt](https://docs.birchui.com/llms-full.txt) contains the whole documentation in one file.
