# Birch UI > Birch UI is a family of framework-agnostic JavaScript UI components built on one vanilla TypeScript engine: Birch UI Grid (MIT data grid), Grid Pro (grouping, aggregation, pivot, tree data, range selection, clipboard, Excel export), the Excel Engine (xlsx reader and writer), the Scheduler (resource timeline), Gantt (project scheduling with dependencies and critical path), the Event Calendar (month, week, day, agenda and year views with recurrence), Charts (canvas charts with SVG and PNG export), Diagram (flow and diagram editor with auto-layout), the Spreadsheet (Excel-compatible formula engine and editor), the Document Editor (paginated Word-style editor with DOCX import and export, track changes and comments), PDF (PDF viewer and annotation editor with forms, page tools and save), Pivot Studio (pivot report builder for BI embeds) and Forms (MIT JSON form renderer with a commercial visual Form Builder). Adapters exist for React, Vue, Angular, Svelte, Solid and Web Components. Paid products are a one-time purchase per developer with free updates forever, unlimited apps and unlimited end users. Every documentation page has a plain Markdown twin: replace the trailing slash of a page URL with `.md` (for example https://docs.birchui.com/grid/sorting.md). The complete documentation as one file is at https://docs.birchui.com/llms-full.txt. Key facts for code generation: - Packages: `@birchui/core` (MIT grid, `createGrid(container, options)`), `@birchui/grid-pro` (modules passed via `modules: [...]`), `@birchui/excel`, `@birchui/scheduler` (`createScheduler(container, options)`), `@birchui/gantt` (`createGantt(container, options)`, headless `createGanttProject()`), `@birchui/calendar` (`createCalendar(container, options)`), `@birchui/charts` (`createChart(container, options)`), `@birchui/diagram` (`createDiagram(container, options)`), `@birchui/spreadsheet` (`createSpreadsheet(container, options)`, headless `createFormulaEngine()`), `@birchui/document` (`createDocumentEditor(container, options)`), `@birchui/pdf` (`createPdfViewer(container, options)`), `@birchui/pivot-studio` (`createPivotStudio(container, options)`), `@birchui/forms` (`createForm(container, { schema })`, MIT) and `@birchui/forms/builder` (`createFormBuilder`, paid), `@birchui/license`, and adapters `@birchui/react`, `vue`, `angular`, `svelte`, `solid`, `element`. - Every widget returns `{ element, update(partial), on(event, listener) => unsubscribe, destroy() }`. - Licensing is offline: `setLicenseKey(key)` or the `licenseKey` option. Without a key every paid feature still works: Grid Pro, the Scheduler, Gantt, the Event Calendar, Charts, Diagram, the Spreadsheet, Pivot Studio and the Form Builder show a watermark, the Excel Engine only logs a console warning. The forms renderer never checks a license. ## Getting started - [Introduction](https://docs.birchui.com/getting-started/introduction.md): What Birch UI is, which products it includes, and what is free versus paid. - [Installation](https://docs.birchui.com/getting-started/installation.md): Install the Birch UI packages for each product and framework, and choose between auto-injected styles and a CSS import. - [Quick start](https://docs.birchui.com/getting-started/quick-start.md): Build a sortable, filterable, editable orders grid in five minutes in React, Vue, Angular, Svelte, Solid, a Web Component or plain JavaScript. - [Examples gallery](https://docs.birchui.com/getting-started/examples.md): Sixteen complete starter apps, one per framework and product, that you can open in StackBlitz, clone, or copy out of the repository. - [Licensing and activation](https://docs.birchui.com/getting-started/licensing.md): How Birch UI license keys work, how to activate them, what the watermark does, and who needs a seat. - [Pricing](https://docs.birchui.com/getting-started/pricing.md): One-time prices per developer for every Birch UI product and bundle, with seat tiers, support packs and lifetime updates. - [Migrating from AG Grid](https://docs.birchui.com/getting-started/migrating-from-ag-grid.md): Map AG Grid grid options, column definitions, API calls, events and filter models to their Birch UI Grid equivalents. - [Migrating from MUI X Data Grid](https://docs.birchui.com/getting-started/migrating-from-mui-x.md): Map MUI X DataGrid, DataGridPro and DataGridPremium props, column definitions, apiRef calls and models to Birch UI Grid. - [Migration tool](https://docs.birchui.com/getting-started/migration-tool.md): Convert AG Grid and MUI X Data Grid code to Birch UI Grid with the birchui-migrate codemod, or paste a configuration into the playground and see the result live. - [FAQ](https://docs.birchui.com/getting-started/faq.md): Answers to common questions about Birch UI licensing, pricing, frameworks, performance, accessibility and server rendering. - [Icons](https://docs.birchui.com/getting-started/icons.md): How the toolbar and ribbon icons of the spreadsheet, PDF viewer and document editor are built, where they come from, and what a host application can change. ## Birch UI Grid - [Birch UI Grid overview](https://docs.birchui.com/grid/overview.md): A fast, accessible, framework-agnostic data grid with sorting, filtering, editing, virtualization and CSV export, free under the MIT license. - [Columns](https://docs.birchui.com/grid/columns.md): Define what each column shows and how it behaves with ColumnDef, from field paths and types to value getters, formatters and cell renderers. - [Rows & row IDs](https://docs.birchui.com/grid/rows.md): Pass rows as plain objects, give them stable IDs with getRowId, and understand the display rows the grid renders. - [Updating data](https://docs.birchui.com/grid/updating-data.md): Replace rows with setRows, apply incremental changes with applyTransaction, change any option with update(), and know when to refresh or redraw. - [Sorting](https://docs.birchui.com/grid/sorting.md): Sort by one or many columns from the header or from code, with type-aware comparison and custom comparators. - [Filtering](https://docs.birchui.com/grid/filtering.md): Filter rows with floating filters and their expression syntax, typed filter models for text, number, date, set and boolean columns, a quick filter and custom predicates. - [Editing](https://docs.birchui.com/grid/editing.md): Make cells editable with built-in text, number, select, checkbox and date editors or your own, parse input with valueParser and react to cellValueChanged. - [Undo and redo](https://docs.birchui.com/grid/undo-redo.md): Record cell edits, pastes and fills, undo them with Ctrl+Z, and keep your save handler in sync with undo and redo. - [Selection](https://docs.birchui.com/grid/selection.md): Let users select one or many rows, add a checkbox column, and drive selection from code with stable row IDs. - [Column operations](https://docs.birchui.com/grid/column-operations.md): Resize, reorder, pin, hide and autosize columns from the UI or the API, and save and restore the layout with ColumnState. - [Column groups](https://docs.birchui.com/grid/column-groups.md): Nest columns under group headers to build multi-row headers, with collapsible groups that show a summary or the full detail. - [Context menu](https://docs.birchui.com/grid/context-menu.md): The built-in cell context menu, how to add, replace or remove items, and how modules contribute their own. - [Pagination](https://docs.birchui.com/grid/pagination.md): Split rows into client-side pages, choose a page size and control the current page from code. - [Virtualization & performance](https://docs.birchui.com/grid/virtualization.md): How the grid renders only what is visible, how to use variable row heights, and what to do to keep a million rows fast. - [Keyboard navigation & accessibility](https://docs.birchui.com/grid/accessibility.md): The grid follows the WAI-ARIA grid pattern with a roving tabindex, a complete keyboard map and correct row and column counts while virtualized. - [Localization and RTL](https://docs.birchui.com/grid/localization.md): Translate every grid string with localeText or a locale pack, format values for a locale, and lay the grid out right to left. - [Theming](https://docs.birchui.com/grid/theming.md): Style the grid with --lq-* CSS custom properties, switch between light, dark and auto themes, pick a density, and ship styles as a CSS file when you need to. - [Saving and restoring state](https://docs.birchui.com/grid/saving-state.md): Capture the whole grid view as JSON with getState, restore it with setState, and save it whenever it changes. - [CSV export](https://docs.birchui.com/grid/csv-export.md): Export the grid's current view as CSV text or a downloadable file, with control over columns, separators, formatting and selection. - [Events reference](https://docs.birchui.com/grid/events.md): Every event the grid emits, with its payload and a typical use, plus how to subscribe and unsubscribe. - [Modules](https://docs.birchui.com/grid/modules.md): How the modules option works, and how to write your own module with row and column stages, cell decorators, key handlers, menu items, slots and shared state. - [Grid API reference](https://docs.birchui.com/grid/api-reference.md): Every GridApi method grouped by task, with links to the generated reference for full signatures and types. - [Troubleshooting](https://docs.birchui.com/grid/troubleshooting.md): Fix a blank or unstyled Birch UI Grid, rows that do not update, lost selection, ignored Pro options, CSP errors and slow large grids. ## Grid Pro - [Grid Pro overview and activation](https://docs.birchui.com/grid-pro/overview.md): What Grid Pro adds to Birch UI Grid, how to install and register its modules, and how to activate a license key. - [Row grouping](https://docs.birchui.com/grid-pro/row-grouping.md): Group rows by one or more columns, let users drag columns into the group panel, control expansion and customise the group column. - [Aggregation](https://docs.birchui.com/grid-pro/aggregation.md): Summarise grouped, tree and pivoted rows with built-in aggregation functions or your own, and read the results from the API. - [Tree data](https://docs.birchui.com/grid-pro/tree-data.md): Show hierarchical records such as an org chart, a bill of materials or a file system, built from paths or parent ids. - [Pivoting](https://docs.birchui.com/grid-pro/pivoting.md): Turn flat records into a cross-tab report with row groups, pivot columns, aggregated values and totals. - [Range selection](https://docs.birchui.com/grid-pro/range-selection.md): Select rectangular blocks of cells with the mouse or keyboard, read their values and react to changes. - [Clipboard](https://docs.birchui.com/grid-pro/clipboard.md): Copy cells as tab-separated text that Excel and Google Sheets understand, cut and clear ranges, and paste into editable cells with type-aware parsing. - [Fill handle](https://docs.birchui.com/grid-pro/fill-handle.md): Drag the corner of a selected range to copy values or extend number and date series into neighbouring cells. - [Master/detail](https://docs.birchui.com/grid-pro/master-detail.md): Expand a row into a full-width detail panel that renders anything, from a nested grid of order lines to a form or a chart. - [Status bar](https://docs.birchui.com/grid-pro/status-bar.md): Show row counts, the number of selected rows and live sum, average, count, minimum and maximum of the selected cells below the grid. - [Excel export and import](https://docs.birchui.com/grid-pro/excel-export.md): Export the current grid view to a styled .xlsx file with real numbers, dates, groups and frozen headers, and import spreadsheets back into the grid. - [Server-side row model](https://docs.birchui.com/grid-pro/server-side-row-model.md): Load rows in blocks from your server as the user scrolls, with sorting, filtering, grouping and aggregation done on the server, for results of any size. - [Troubleshooting](https://docs.birchui.com/grid-pro/troubleshooting.md): Fix Grid Pro features that do nothing because a module is missing, watermarks, ignored grouping and aggregation columns, flat tree data and blocked clipboard reads. ## Excel Engine - [Excel Engine overview](https://docs.birchui.com/excel/overview.md): A self-contained xlsx writer and reader for browsers, Web Workers and Node, with styles, number formats, freeze panes, outlines and merges. - [Writing workbooks](https://docs.birchui.com/excel/writing.md): The workbook, sheet, row and cell model of the Excel Engine, and the writeXlsx, writeXlsxSync and downloadXlsx functions. - [Styles and number formats](https://docs.birchui.com/excel/styles.md): Style cells, rows and columns with fonts, fills, borders and alignment, and control how numbers and dates display with Excel number formats. - [Freeze panes, outlines and merges](https://docs.birchui.com/excel/layout.md): Lay out worksheets with column widths, frozen header rows and columns, autofilter, grouped outline rows and columns, merged cells, tab colours and right-to-left sheets. - [Reading files](https://docs.birchui.com/excel/reading.md): Read xlsx files into arrays of values or records with readXlsx and sheetToObjects, including dates, booleans, merged ranges and formula results. - [Running in a worker](https://docs.birchui.com/excel/workers.md): Generate and read large xlsx files in a Web Worker without freezing the page, transfer the bytes efficiently, and use the Excel Engine in Node. - [Utilities](https://docs.birchui.com/excel/utilities.md): Helpers for A1 cell references, Excel date serials and zip archives that ship with the Excel Engine. - [Troubleshooting](https://docs.birchui.com/excel/troubleshooting.md): Fix Excel Engine license warnings, keys that do not reach workers, dates that read as numbers or shift by a day, files that will not open and console warnings about skipped input. ## Scheduler - [Scheduler overview](https://docs.birchui.com/scheduler/overview.md): A resource timeline for planning people, crews, rooms and equipment, with drag and drop, resizing, drag-to-create, zoom presets, working time and time zones. - [Resources and events](https://docs.birchui.com/scheduler/resources-and-events.md): The data model of the scheduler, including resource hierarchies, event fields, accepted date formats, overlap lanes and the methods that update data in place. - [View presets and zoom](https://docs.birchui.com/scheduler/view-presets.md): Choose the time scale of the timeline with built-in view presets, zoom between them, define custom presets and navigate the visible range. - [Time zones](https://docs.birchui.com/scheduler/time-zones.md): Run the timeline in any IANA time zone, understand how event times are read and displayed, and handle daylight saving transitions correctly. - [Drag, drop, resize and create](https://docs.birchui.com/scheduler/interactions.md): Let users move events in time and between resources, change durations, create events by dragging, snap to a time grid and reject changes that break your rules. - [Recurring events](https://docs.birchui.com/scheduler/recurrence.md): Repeat events with RFC 5545 rules, skip dates with exdates, and decide whether a drag, resize or delete changes one occurrence or the whole series. - [Undo and redo](https://docs.birchui.com/scheduler/undo-redo.md): Record moves, resizes, creates and removals in the scheduler, undo them with Ctrl+Z, and save undone changes from historyChange. - [Working time](https://docs.birchui.com/scheduler/working-time.md): Shade non-working hours and days on the timeline, mark weekends, show the current time and enforce business hours when users edit. - [Event rendering](https://docs.birchui.com/scheduler/event-rendering.md): Color events by status or resource, render custom content inside event bars, add tooltips and theme the scheduler with CSS custom properties. - [Keyboard and accessibility](https://docs.birchui.com/scheduler/accessibility.md): How the scheduler exposes its structure to assistive technology, how keyboard users select, move, resize and remove events, and what to keep in mind when you customize it. - [Scheduler API and events](https://docs.birchui.com/scheduler/api.md): Every option, method and event of the scheduler in one place, with types and links to the guides that explain them. - [Troubleshooting](https://docs.birchui.com/scheduler/troubleshooting.md): Fix a blank or unstyled scheduler, events that do not appear, times shifted by a time zone, ignored recurrence rules, watermarks and slow boards. ## Gantt - [Gantt overview](https://docs.birchui.com/gantt/overview.md): A project scheduling component with a task tree, a timeline and a critical-path engine, working calendars, MS Project XML exchange and a headless engine for servers. - [Tasks](https://docs.birchui.com/gantt/tasks.md): The task model of the Gantt, covering task, milestone and summary types, the task tree, durations, progress, colors, scheduled fields and editing tasks from code. - [Dependencies](https://docs.birchui.com/gantt/dependencies.md): Link tasks with finish-to-start, start-to-start, finish-to-finish and start-to-finish dependencies, add lag or lead in working or elapsed time, and understand which links are allowed. - [Working calendars](https://docs.birchui.com/gantt/calendars.md): Define working days, working hours with breaks, per-weekday hours, holidays and working exceptions, use one calendar for the project and others per task, and match durations to your working day. - [Scheduling](https://docs.birchui.com/gantt/scheduling.md): How the critical-path engine computes dates, slack and the critical path, how the eight constraints work, why dragging sets a start-no-earlier-than constraint, how changes propagate, and how to schedule tasks manually. - [Baselines](https://docs.birchui.com/gantt/baselines.md): Save the planned dates of a project as baselines, show them under the task bars, compare the current schedule with the plan and exchange baselines through MS Project XML. - [Task grid](https://docs.birchui.com/gantt/task-grid.md): Configure the task list columns, edit names, dates, durations, progress and predecessor text inline, indent and outdent tasks, and add or delete rows from the keyboard. - [Interactions](https://docs.birchui.com/gantt/interactions.md): Move, resize and set progress by dragging bars, draw links between bar edges, validate changes, undo and redo, zoom between view presets, navigate the timeline and resize the grid with the splitter. - [MS Project XML](https://docs.birchui.com/gantt/ms-project.md): Export schedules as MS Project XML, import files written by MS Project and other tools, and read project files on a server without a DOM. - [Headless engine](https://docs.birchui.com/gantt/headless.md): Run the Gantt's scheduling engine without a DOM with createGanttProject, in Node, workers and tests, to schedule, edit, validate and convert projects on a server. - [Performance](https://docs.birchui.com/gantt/performance.md): How fast the Gantt schedules large projects, how incremental rescheduling and virtualization work, and how to keep big programmes responsive. - [Keyboard and accessibility](https://docs.birchui.com/gantt/accessibility.md): The keyboard map of the task grid and the timeline, linking tasks from the keyboard, what screen readers announce, and how the splitter, themes and reduced motion are handled. - [Gantt API and events](https://docs.birchui.com/gantt/api.md): Every option, method, event and exported function of Birch UI Gantt, with defaults, payloads and a pattern for saving changes. - [Limitations](https://docs.birchui.com/gantt/limitations.md): What this release of Birch UI Gantt does not do, so you can plan around it. - [Troubleshooting](https://docs.birchui.com/gantt/troubleshooting.md): Fix a blank or unstyled Gantt, tasks that land on other dates than your data says, ignored links and loops, calendar mismatches, watermarks and slow large projects. ## Event Calendar - [Event Calendar overview](https://docs.birchui.com/calendar/overview.md): A framework-agnostic event calendar with month, week, day, agenda and year views, recurring events, time zones, iCalendar import and export, and drag-and-drop editing. - [Views](https://docs.birchui.com/calendar/views.md): The month, week, day, N-day, agenda and year views, the toolbar, navigation from code, the time grid settings and business hours. - [Recurring events](https://docs.birchui.com/calendar/recurrence.md): Repeat events with RFC 5545 RRULE and EXDATE, edit or delete single occurrences or whole series, and use the recurrence engine on its own. - [Time zones](https://docs.birchui.com/calendar/time-zones.md): Display the calendar in any IANA time zone, give individual events a zone of their own, and understand how event times are read, shown and written back. - [iCalendar import and export](https://docs.birchui.com/calendar/ical.md): Read .ics files from Outlook, Google Calendar and Apple Calendar with parseICS, and export events, series and exceptions with toICS. - [Drag, resize and select](https://docs.birchui.com/calendar/interactions.md): Move and resize events by pointer, touch and keyboard, select time to create events, choose the edit scope for recurring events, revert changes and validate them. - [Event sources](https://docs.birchui.com/calendar/event-sources.md): Load events from your server for the visible range with an async eventSource, cancel stale requests, show loading state and handle errors. - [Keyboard and accessibility](https://docs.birchui.com/calendar/accessibility.md): The keyboard model of every calendar view, the ARIA structure screen readers see, live announcements, and what to keep in mind when you customize the calendar. - [Event Calendar API and events](https://docs.birchui.com/calendar/api.md): Every option, method, event and exported function of the Event Calendar, with defaults, payloads and links to the guides. - [Troubleshooting](https://docs.birchui.com/calendar/troubleshooting.md): Fix Event Calendar events that do not appear or show at the wrong hour, an event source that does not reload, ignored recurrence rules, sizing, missing styles and watermarks. ## Charts - [Birch UI Charts overview](https://docs.birchui.com/charts/overview.md): Fast, accessible canvas charts for line, area, bar, column, scatter, bubble, pie, donut, heatmap and combination charts, with SVG and PNG export and grid integration. - [Series](https://docs.birchui.com/charts/series.md): Every chart type in Birch UI Charts, from line and area to bar, scatter, bubble, pie, donut, heatmap and combination charts, and the options each series takes. - [Axes](https://docs.birchui.com/charts/axes.md): Category, linear, logarithmic and time axes, how the x axis type is inferred, multiple value axes, and label formatting. - [Interaction](https://docs.birchui.com/charts/interaction.md): Tooltips and custom tooltip formatters, legend toggling, drag and wheel zoom, panning, resetting, and controlling the zoom from code. - [Large data](https://docs.birchui.com/charts/large-data.md): Draw line and area charts with a million points through per-pixel min/max decimation, and know when to decimate, aggregate or switch chart types. - [Export](https://docs.birchui.com/charts/export.md): Export charts as SVG strings, PNG blobs or downloaded files, at any size and pixel ratio. - [Grid integration](https://docs.birchui.com/charts/grid-integration.md): Turn a range selected in Grid Pro into a chart with chartFromRange, and draw sparklines inside Birch UI Grid cells with sparklineSVG. - [Charts accessibility](https://docs.birchui.com/charts/accessibility.md): Generated chart summaries, the hidden data table, keyboard navigation between points, announcements, reduced motion and palette contrast. - [Charts API & events](https://docs.birchui.com/charts/api.md): Every option, method and event of Birch UI Charts, with the exported helpers and types. - [Troubleshooting](https://docs.birchui.com/charts/troubleshooting.md): Fix charts that render at the wrong size or without styles, dates plotted as categories, gaps in lines, slow large series, failed PNG exports and watermarks. ## Diagram - [Diagram overview](https://docs.birchui.com/diagram/overview.md): A flow and diagram editor for the browser with ports, orthogonal routing, auto-layout, groups and swimlanes, undo and redo, and SVG, PNG and JSON export. - [Nodes and edges](https://docs.birchui.com/diagram/nodes-and-edges.md): The diagram data model, covering nodes, the ten built-in shapes, ports, edges with markers and labels, groups and swimlanes, styles and editing the model from code. - [Node templates](https://docs.birchui.com/diagram/node-templates.md): Define custom node types with their own size, ports and shape, render them as SVG or as HTML in the HTML layer, and make them export cleanly. - [Edge routing](https://docs.birchui.com/diagram/routing.md): How orthogonal, straight and curved edges are drawn, how they attach to nodes and ports, how to tune routing, and how to use the orthogonal router on its own. - [Auto-layout](https://docs.birchui.com/diagram/layout.md): Arrange diagrams automatically with layered, tree, force-directed and grid layouts, animate the result, and run the same layout engines on a server. - [Interaction](https://docs.birchui.com/diagram/interaction.md): Pan, zoom and fit, the minimap and toolbar, selection, moving with grid snapping and alignment guides, connecting with validation, inline labels, undo and redo, copy and paste, and read-only mode. - [Serialization and export](https://docs.birchui.com/diagram/serialization.md): Save and load diagrams as JSON documents, export SVG and PNG images, and keep a backend in sync with incremental change events. - [Performance and large diagrams](https://docs.birchui.com/diagram/performance.md): How the diagram stays fast with thousands of nodes, what overview mode is and when it switches on, and how to tune large graphs. - [Keyboard and accessibility](https://docs.birchui.com/diagram/accessibility.md): The complete keyboard map, keyboard connect mode, what screen readers announce, the list view fallback and how to keep custom templates accessible. - [Diagram API and events](https://docs.birchui.com/diagram/api.md): Every option, method, event and exported function of Birch UI Diagram, with defaults and payloads. - [Troubleshooting](https://docs.birchui.com/diagram/troubleshooting.md): Fix a small or unstyled diagram canvas, nodes piled at the origin, missing edges and ports, lost undo history in frameworks, export differences, watermarks and slow large graphs. ## Spreadsheet - [Spreadsheet overview](https://docs.birchui.com/spreadsheet/overview.md): An embeddable, Excel-compatible spreadsheet for web apps, with a formula engine of 501 functions, dynamic arrays, incremental recalculation and xlsx import and export. - [Formulas](https://docs.birchui.com/spreadsheet/formulas.md): Formula syntax, references, cross-sheet references, defined names, LET and LAMBDA, custom functions, dynamic arrays and spilling, errors, circular references and volatile functions. - [Toolbar and status bar](https://docs.birchui.com/spreadsheet/toolbar.md): The ribbon toolbar with File, Home, Insert, Page Layout, Formulas, Data, Review and View tabs, opening and downloading files from the File tab, the classic, single-line and collapsed ribbon, the compact toolbar, custom buttons, keyboard access, the cell menu and the status bar with selection statistics and zoom. - [Formula auditing](https://docs.birchui.com/spreadsheet/auditing.md): Trace precedents and dependents with arrows, select them by keyboard, step through a formula with the Evaluate Formula dialog, and review the cells the error checker marks. - [Function reference](https://docs.birchui.com/spreadsheet/functions.md): Every worksheet function the spreadsheet supports, with syntax and a one-line description, generated from listFunctions(). - [Formatting](https://docs.birchui.com/spreadsheet/formatting.md): Cell styles, Excel number format codes, merged cells, frozen panes, column widths and row heights, and conditional formatting with value, text, date and formula rules, colour scales, data bars and icon sets. - [Tables](https://docs.birchui.com/spreadsheet/tables.md): Excel tables with header rows, totals rows, banded styles, calculated columns, automatic growth and structured references such as Orders[Amount] and [@Units]. - [Notes and hyperlinks](https://docs.birchui.com/spreadsheet/notes-and-links.md): Cell notes with a red corner marker and hover popup, and hyperlinks to web pages, email addresses and other cells, with keyboard and screen reader support. - [Touch screens](https://docs.birchui.com/spreadsheet/touch.md): What works with a finger on phones and tablets, what needs a keyboard or a mouse, and how this is tested. - [Data tools](https://docs.birchui.com/spreadsheet/data-tools.md): Data validation with dropdown lists, autofilter, sort, find and replace, the fill handle, clipboard, undo and redo, and the full keyboard shortcut list. - [Grouping and outlines](https://docs.birchui.com/spreadsheet/outline.md): Group rows and columns into collapsible outline levels with plus and minus buttons, level buttons and xlsx round-trip. - [Protection](https://docs.birchui.com/spreadsheet/protection.md): Lock cells, hide formulas, protect a sheet with an optional password, choose what users may still do, and protect the workbook structure. - [Pivot tables](https://docs.birchui.com/spreadsheet/pivot-tables.md): Summarise a range or table in a pivot table that lives in the sheet, with row, column, value and filter fields, compact, outline and tabular layouts, label, value and date filters, calculated fields, GETPIVOTDATA, a field list panel, drill-down and automatic refresh. - [Slicers](https://docs.birchui.com/spreadsheet/slicers.md): Floating button lists that filter a pivot table or a table by the items of one field, with mouse and keyboard selection. - [Sheets and the workbook JSON](https://docs.birchui.com/spreadsheet/sheets.md): Work with multiple sheets from the tab bar and the API, and load and save workbooks as plain JSON with WorkbookJSON, SheetJSON and CellJSON. - [Charts](https://docs.birchui.com/spreadsheet/charts.md): Column, bar, line, area, pie, doughnut, scatter, bubble, radar and combo charts with trendlines, error bars, data labels and axis options, that float over the sheet, update live from cell ranges and round-trip to xlsx. - [Pictures](https://docs.birchui.com/spreadsheet/images.md): Floating pictures anchored to a cell, pictures placed in cells and the IMAGE function, in PNG, JPEG, GIF, BMP, TIFF, WebP, SVG, EMF and WMF, with alt text and xlsx round-trip. - [Embedded files](https://docs.birchui.com/spreadsheet/embedded-objects.md): Files stored inside a workbook as embedded objects, such as a Word document, a PDF or an Outlook message, shown with a file-type icon and their name, which you can move, open, download, replace and round-trip through xlsx. - [Sparklines](https://docs.birchui.com/spreadsheet/sparklines.md): Line, column and win/loss sparklines drawn inside cells, with high, low, first, last and negative point colours, kept in xlsx files. - [Shapes and text boxes](https://docs.birchui.com/spreadsheet/shapes.md): Rectangles, rounded rectangles, ellipses, lines, arrows and text boxes that float over the grid, with move, resize, rotate, styling, text editing and full keyboard access. - [Printing and page setup](https://docs.birchui.com/spreadsheet/printing.md): Page setup, print areas, repeated title rows, page breaks, headers and footers, printing with the browser, and standalone print HTML for PDF pipelines. - [Excel files](https://docs.birchui.com/spreadsheet/xlsx.md): Import and export xlsx files with formulas, styles, conditional formatting, validation, notes and threaded comments, filters, tables, pivot tables, slicers, charts, shapes, pictures and page setup, follow the progress of an import or cancel it, check a file before you ship it, and see exactly what round-trips through LibreOffice and openpyxl. - [Password-protected workbooks](https://docs.birchui.com/spreadsheet/encryption.md): Save xlsx files that cannot be read without a password, open encrypted files from Excel and LibreOffice, handle wrong and missing passwords, and see which encryption schemes are supported. - [CSV and OpenDocument files](https://docs.birchui.com/spreadsheet/file-formats.md): Read and write CSV and TSV with delimiter, quote and encoding detection and type inference, and open and save OpenDocument spreadsheets (.ods), with the exact subset each format carries. - [Headless formula engine](https://docs.birchui.com/spreadsheet/headless-engine.md): Run the spreadsheet's formula engine without a DOM, in Node or a worker, to recalculate models on a server, validate submissions and test workbooks. - [Calculating in a Web Worker](https://docs.birchui.com/spreadsheet/worker-calculation.md): Run the formula engine in a Web Worker so recalculating a large workbook never blocks typing or scrolling, with the same engine on the main thread as a fallback. - [Performance](https://docs.birchui.com/spreadsheet/performance.md): How the spreadsheet stays fast with large models, measured times for loading, scrolling, calculation and xlsx files, bundle size, and practical advice for big workbooks. - [Collaboration](https://docs.birchui.com/spreadsheet/collaboration.md): Several people editing one workbook: the operation stream, how concurrent edits are merged, presence cursors, the provider interface and what the model does not do. - [Keyboard shortcuts](https://docs.birchui.com/spreadsheet/keyboard.md): Every keyboard shortcut in the spreadsheet, matching Excel for Windows. On macOS, Cmd works wherever Ctrl is listed. - [Accessibility](https://docs.birchui.com/spreadsheet/accessibility.md): The ARIA structure of the spreadsheet, how focus moves between its regions, what is announced, and what the automated checks cover. - [Untrusted workbooks](https://docs.birchui.com/spreadsheet/security.md): What Birch UI Spreadsheet does with workbooks, pasted content and files that come from people you do not trust, and what stays your responsibility. - [Spreadsheet API](https://docs.birchui.com/spreadsheet/api.md): Options, methods and events of createSpreadsheet, and the other exports of @birchui/spreadsheet. - [Limitations](https://docs.birchui.com/spreadsheet/limitations.md): What Birch UI Spreadsheet does not support yet, compared with Excel, so you can decide before you build. - [Troubleshooting](https://docs.birchui.com/spreadsheet/troubleshooting.md): Fix a spreadsheet that does not fill its container, ## Document Editor - [Document Editor overview](https://docs.birchui.com/document/overview.md): A paginated, Word-style rich text editor for the browser with DOCX import and export, track changes, threaded comments, tables, images, mail merge and a document compare. - [Editing and formatting](https://docs.birchui.com/document/editing.md): Paragraph styles, character formatting, lists, links, page breaks, symbols, the format painter and the exec command API of Birch UI Document Editor. - [Editing dialogs](https://docs.birchui.com/document/dialogs.md): Every dialog and pane of Birch UI Document Editor with its command, shortcut and ribbon control, what it changes in the document and what is written to DOCX. - [Ribbon, panes and rulers](https://docs.birchui.com/document/ribbon.md): The ribbon of Birch UI Document Editor and how to customise it, the File tab, the mini toolbar, the rulers with tab stops, the styles, navigation and find panes, view modes, autocorrect, paste options and autosave. - [Tables and images](https://docs.birchui.com/document/tables-and-images.md): Insert and edit tables with merged cells, header rows, shading and borders, and add pictures from files, the clipboard or drag and drop in Birch UI Document Editor. - [Content controls and forms](https://docs.birchui.com/document/forms.md): Build fillable documents with content controls, form mode, form data, validation and editing restrictions in Birch UI Document Editor. - [Footnotes and references](https://docs.birchui.com/document/footnotes-and-references.md): Footnotes and endnotes, bookmarks, cross-references, captions, tables of contents and figures, and fields in Birch UI Document Editor. - [Page layout](https://docs.birchui.com/document/page-layout.md): Page sizes, orientation, margins, pagination, headers and footers with page numbers, the ruler, zoom and the web layout of Birch UI Document Editor. - [Compare and version history](https://docs.birchui.com/document/compare-and-versions.md): Compare two versions of a document into a redline or side by side, combine two reviewed copies, save named versions, and restore or compare them in Birch UI Document Editor. - [Track changes and compare](https://docs.birchui.com/document/track-changes.md): Suggest edits with tracked insertions and deletions, accept or reject them, compare two versions into a redline and propose changes from other tools in Birch UI Document Editor. - [Comments](https://docs.birchui.com/document/comments.md): Anchor comment threads to text, reply, resolve and delete them, and keep them through DOCX import and export in Birch UI Document Editor. - [Collaboration](https://docs.birchui.com/document/collaboration.md): Edit one document from several browsers with Birch UI Document Editor: offline editing with rebase on reconnect, presence, version history, range locks, pluggable backends and a durable reference WebSocket relay. - [DOCX import and export](https://docs.birchui.com/document/docx.md): Open and save Word documents in the browser or in Node.js with Birch UI Document Editor, with a fidelity matrix, the import report, the package validator and the test corpus. - [Markdown, HTML, RTF, Word 97–2003 and OpenDocument](https://docs.birchui.com/document/formats.md): Convert documents to and from Markdown and HTML, import RTF and Word 97–2003 (.doc) files, and read and write an OpenDocument subset with Birch UI Document Editor. - [Mail merge and templates](https://docs.birchui.com/document/mail-merge.md): Insert merge fields, write {{tokens}} with formatting filters, conditional sections and repeating rows, and merge customer data into documents with Birch UI Document Editor. - [PDF export and print](https://docs.birchui.com/document/pdf-and-print.md): Print the pages you see, export a tagged vector PDF with embedded font subsets in the browser, and render documents to PDF on a server with Birch UI Document Editor. - [Performance](https://docs.birchui.com/document/performance.md): Measured open, layout, typing and memory figures for a 300-page document in Birch UI Document Editor, how incremental layout and virtualization work, and how to tune them. - [Accessibility](https://docs.birchui.com/document/accessibility.md): What was tested for WCAG 2.2 AA in Birch UI Document Editor, how it was tested, the keyboard map, and the known exceptions. - [Accessibility conformance report](https://docs.birchui.com/document/accessibility-conformance.md): WCAG 2.2 level A and AA success criteria for Birch UI Document Editor, each marked as passing, partial or not tested, with the test behind every claim. - [Keyboard and accessibility](https://docs.birchui.com/document/keyboard.md): The keyboard shortcuts of Birch UI Document Editor, the toolbar and dialog patterns, screen-reader support, right-to-left text and translating the interface. - [Document Editor API and events](https://docs.birchui.com/document/api.md): Every option, method, event, command and export of Birch UI Document Editor, generated from the TypeScript declarations of the package. - [Recipes](https://docs.birchui.com/document/recipes.md): Four complete workflows with Birch UI Document Editor - a contract review with locked tracking, mail merge on a server, a template with content controls, and an editor embedded with collaboration. - [Troubleshooting](https://docs.birchui.com/document/troubleshooting.md): Answers to common problems with Birch UI Document Editor: page counts, fonts, pasted content, DOCX round trips, PDF output, collaboration and console messages. - [Limitations](https://docs.birchui.com/document/limitations.md): What Birch UI Document Editor does not do, or only approximates: layout, floating objects, PDF export, review, forms, collaboration and DOCX validation. - [Frameworks](https://docs.birchui.com/document/frameworks.md): Use Birch UI Document Editor in React, Vue, Angular, Svelte and Solid and as a custom element through the /document entry point of each adapter, with typed options, events and the editor API. - [Pictures and embedded objects](https://docs.birchui.com/document/embedded-objects.md): Which picture formats Birch UI Document Editor reads, shows and writes in DOCX, how EMF and WMF metafiles are drawn, and how embedded Excel, Word, PowerPoint, PDF and other files are opened, downloaded and inserted. - [Editing engine](https://docs.birchui.com/document/editing-engine.md): How the rich-text editing core inside Birch UI Document Editor is organised, from the immutable document tree and steps to the DOM view, and how it is tested. ## PDF - [PDF overview and getting started](https://docs.birchui.com/pdf/overview.md): Install Birch UI PDF, open a document in the viewer or headlessly, and save annotations and form values back into the PDF. - [Viewer](https://docs.birchui.com/pdf/viewer.md): Zoom, scroll modes, spreads, presentation mode, search, the ten sidebar panels, toolbar and tool group configuration, themes, the print dialog and the phone layout of the Birch UI PDF viewer. - [Annotations](https://docs.birchui.com/pdf/annotations.md): Every annotation tool of Birch UI PDF, the stamp gallery, saved signatures, the style bar, multi-selection, copy and paste, arranging, the context menu, measurement calibration, comment threads, edit permissions and XFDF and JSON exchange. - [Forms](https://docs.birchui.com/pdf/forms.md): Fill AcroForm fields, validate them, run Acrobat format, keystroke, calculation and validation scripts without executing JavaScript, read submit and reset actions as data, exchange form data as FDF, XFDF, JSON and XML, design fields and flatten a finished form. - [Page tools](https://docs.birchui.com/pdf/page-tools.md): Merge files, delete, reorder, rotate, duplicate, replace, extract and split pages, resize them to a paper size, add page numbers, impose booklets and more, from the Pages tab, the organizer or code, with undo and correct annotation and form placement. - [Saving](https://docs.birchui.com/pdf/saving.md): How Birch UI PDF writes incremental updates and full rewrites, what forces a full rewrite, and the compress, flatten and optimize options. - [Redaction](https://docs.birchui.com/pdf/redaction.md): Mark text, patterns and areas for redaction, review the marks, apply them and save a rewritten file from which the text, image pixels and vector art are really removed, with a precise list of what is and is not removed. - [Signatures](https://docs.birchui.com/pdf/signatures.md): Electronic signatures (drawn, typed, image) versus certificate signatures, signing with signPdf or viewer.signDocument using PKCS#8 keys, PKCS#12 files, a CryptoKey or an external signer, certification, several signatures, encrypted files, RFC 3161 timestamps, validation data (DSS), revocation checks, PAdES levels and the Signatures panel. - [Encryption and passwords](https://docs.birchui.com/pdf/encryption.md): Open password-protected PDFs with the built-in prompt or your own, and add, change or remove password protection with RC4 and AES encryption and permission flags. - [Comparing documents](https://docs.birchui.com/pdf/compare.md): Compare two PDF files page by page and word by word with comparePdf, detect added, removed and reordered pages and moved text, and show the result in the viewer's compare view with viewer.compareWith, including a pixel-level visual comparison. - [Document tools](https://docs.birchui.com/pdf/document-tools.md): Watermarks, headers and footers, Bates numbering, attachments, bookmark editing, document properties, page labels, images to PDF and an archive readiness check, in the viewer and in the headless API. - [Content editing](https://docs.birchui.com/pdf/content-editing.md): Replace, move and delete text runs, move, resize, replace and delete placed images, add new text and images, read the page text in reading order and get snap geometry with the headless API, with an honest list of what PDF content editing cannot do. - [Fonts and non-Latin text](https://docs.birchui.com/pdf/fonts.md): Supply TrueType or OpenType fonts so saved free text, stamps, typed signatures and form values in Greek, Cyrillic, Hebrew, Arabic and other scripts are embedded as subset fonts that every PDF reader draws and extracts correctly. - [Accessibility](https://docs.birchui.com/pdf/accessibility.md): Keyboard creation, moving and resizing of annotations, focus handling, ARIA structure, live announcements, forced colours, reduced motion, right-to-left layout and translation of the PDF viewer. - [Keyboard shortcuts](https://docs.birchui.com/pdf/keyboard.md): Every keyboard shortcut of the PDF viewer, generated from KEYBOARD_SHORTCUTS, plus the keys of annotations, the sidebar, presentation mode and dialogs. On macOS, Cmd works wherever Ctrl is listed. - [Performance](https://docs.birchui.com/pdf/performance.md): How the PDF viewer keeps large documents responsive, where rendering runs, the options that trade sharpness for memory, and how to measure your own documents. - [PDF API and events](https://docs.birchui.com/pdf/api.md): Every option, method and event of the Birch UI PDF viewer, the headless document API and the standalone functions, with defaults and payloads. - [Recipes](https://docs.birchui.com/pdf/recipes.md): Complete, type-checked examples for common jobs with Birch UI PDF: a review workflow, redact and sign, fill and flatten, merge and Bates-number, opening attachments and embedded files in the PDF, spreadsheet and document components, and headless processing on a Node server. - [Loading and rendering](https://docs.birchui.com/pdf/rendering.md): Progressive loading from a URL or a byte-range loader, the render worker, render options, your own renderer, layers (optional content), a custom page renderer, and how the output is checked. - [Symbol reference](https://docs.birchui.com/pdf/reference.md): Every symbol exported by @birchui/pdf and @birchui/pdf/engine with its declaration, grouped by area and generated from the source. - [Customising the viewer](https://docs.birchui.com/pdf/customization.md): Toolbar presets and custom toolbar items, remapping keyboard shortcuts, the command palette, saving and restoring the view state, document tabs, file drop, read aloud, formatted copy and the snapshot tool. - [Rendering engine](https://docs.birchui.com/pdf/rendering-engine.md): The page renderer of @birchui/pdf/render, which the viewer uses — what it draws, how to call it on the main thread or in a worker, how text is read, how it is verified against poppler and Ghostscript, and a support matrix of operators, colour spaces, shadings, fonts and image filters. - [Theming](https://docs.birchui.com/pdf/theming.md): Every --lq-pdf-* custom property of the PDF viewer with its default in the light and dark themes, and how the tokens fall back to the shared --lq-* tokens. - [Email messages (.msg and .eml)](https://docs.birchui.com/pdf/email.md): Parse Outlook .msg and RFC 5322 .eml files, convert them to a paginated PDF with the header block, the HTML or plain body, inline images and the original attachments, and open them directly in the viewer. - [Attachments and portfolios](https://docs.birchui.com/pdf/attachments.md): Embed any file in a PDF with its type, description, relationship and checksum, list, open and remove attachments, read PDF portfolios, and handle the attachmentOpen event and drag-and-drop in the viewer. - [Frameworks](https://docs.birchui.com/pdf/frameworks.md): Use the Birch UI PDF viewer in React, Vue, Angular, Svelte and Solid and as a custom element through the /pdf entry point of each adapter, with typed options, events and the viewer API. - [Running the engine on untrusted files](https://docs.birchui.com/pdf/untrusted-files.md): The limits Birch UI PDF applies while it reads a file, how to change them, how to isolate the engine in a worker, and what is and is not validated when a PDF comes from someone you do not trust. - [Collaboration](https://docs.birchui.com/pdf/collaboration.md): Synchronise annotations, form values, page structure and presence between reviewers over your own transport, with fixed conflict rules and a reference relay server. - [Text recognition (OCR)](https://docs.birchui.com/pdf/ocr.md): The package's own OCR engine. It turns scanned pages into searchable, selectable and redactable text, runs in the browser, in a worker or in Node, and sends nothing anywhere. - [Troubleshooting](https://docs.birchui.com/pdf/troubleshooting.md): Fix a PDF viewer that stays empty, a render worker that does not start, a URL that is refused, Content Security Policy errors, a viewer that is too short, password errors, question marks instead of non-Latin text, unexpected full rewrites, signatures shown as modified, and problems with hot reloading and server-side rendering. - [Limitations](https://docs.birchui.com/pdf/limitations.md): What Birch UI PDF does not do, stated plainly: what the rendering engine does not draw or read correctly yet, viewer tools that clear the undo history, text-based comparison, narrow content editing and more. ## Pivot Studio - [Pivot Studio overview](https://docs.birchui.com/pivot-studio/overview.md): A pivot-first report builder for embedding analytics in your product, with a field list, subtotals, drill-through, conditional formatting, saved reports and Excel export. - [Loading data](https://docs.birchui.com/pivot-studio/data.md): Feed Pivot Studio arrays of records, CSV or JSON, control field detection with field definitions, and use the automatic date hierarchy. - [Field list](https://docs.birchui.com/pivot-studio/field-list.md): How users build reports with the field list and its Filters, Columns, Rows and Values zones, by drag and drop or from the keyboard, and how to change fields from code. - [Calculations](https://docs.birchui.com/pivot-studio/calculations.md): Summarize values with sum, count, average, min, max, distinct count and median, and show them as percentages of totals, running totals or differences from the previous member. - [Filtering & sorting](https://docs.birchui.com/pivot-studio/filtering-and-sorting.md): Member, label, value and top-N filters, report filters in the Filters zone, and sorting rows and columns by label or by any measure. - [Totals & formatting](https://docs.birchui.com/pivot-studio/totals-and-formatting.md): Layouts, subtotals and grand totals, number formats per measure, and conditional formatting with color scales, data bars and thresholds. - [Drill-through & export](https://docs.birchui.com/pivot-studio/drill-through-and-export.md): Show the records behind any value, export them, and export the pivot itself to a styled Excel workbook, CSV or a plain 2-D array. - [Saving and loading reports](https://docs.birchui.com/pivot-studio/saving-reports.md): Save and load Pivot Studio reports as plain JSON, store them per user, and understand every key of the report format. - [Performance & workers](https://docs.birchui.com/pivot-studio/performance.md): How Pivot Studio handles a million records, aggregating in a Web Worker with the worker option, and running the headless pivot engine in Node, workers and tests. - [Pivot charts](https://docs.birchui.com/pivot-studio/charts.md): Add an optional chart of the pivot with the pivot chart plugin, or place a pivot chart anywhere with createPivotChart, through the @birchui/pivot-studio/charts entry point. - [Pivot Studio accessibility](https://docs.birchui.com/pivot-studio/accessibility.md): Keyboard access to the field list, toolbar, table and dialogs, screen reader semantics, announcements and visual accessibility in Pivot Studio. - [Pivot Studio API & events](https://docs.birchui.com/pivot-studio/api.md): Every option, method and event of Pivot Studio, the plugin interface, and the exported helpers. - [Troubleshooting](https://docs.birchui.com/pivot-studio/troubleshooting.md): Fix a blank or unstyled Pivot Studio, fields that are ignored or detected as text, saved reports that load partly, worker fallbacks, plugin changes, slow large datasets and watermarks. ## Forms - [Forms overview](https://docs.birchui.com/forms/overview.md): Render accessible, multi-page forms from a JSON schema with conditional logic, computed values, repeatable sections and validation, free under the MIT license. - [Schema reference](https://docs.birchui.com/forms/schema.md): The structure of a form schema, from form settings and pages to the properties every element and field accepts, and how answers map to the data object. - [Field types](https://docs.birchui.com/forms/field-types.md): Every field and layout element in Birch UI Forms, with its properties, the value it stores and an example. - [Expressions](https://docs.birchui.com/forms/expressions.md): The sandboxed expression language behind conditions, calculations and validation rules, with every operator and function, and the APIs to use it outside forms. - [Validation](https://docs.birchui.com/forms/validation.md): Built-in validation rules, expression and asynchronous custom validators, when validation runs, how errors are shown, and how to check a schema itself. - [Multi-page forms](https://docs.birchui.com/forms/multi-page.md): Split long forms into pages with conditional pages, a progress bar, per-page validation, page navigation from code and resumable drafts. - [Repeating sections](https://docs.birchui.com/forms/dynamic-panels.md): Let users add any number of entries, such as claim line items, dependants or previous employers, with per-entry expressions, totals across entries and limits. - [Translations and locales](https://docs.birchui.com/forms/i18n.md): Translate form text, choose a locale for built-in messages and number and date formatting, override messages, and add your own languages. - [Accessibility](https://docs.birchui.com/forms/accessibility.md): How Birch UI Forms labels, describes and announces every control, manages focus and errors, and works without a pointer, plus the Form Builder's keyboard model. - [JSON Schema import and export](https://docs.birchui.com/forms/json-schema.md): Convert form schemas to JSON Schema draft 2020-12 for API validation and code generation, build forms from existing JSON Schemas, and know what does not round-trip. - [Form Builder](https://docs.birchui.com/forms/builder.md): A visual, keyboard-accessible designer for Birch UI Forms schemas, with drag and drop, a property panel, an expression editor, undo and redo, a JSON view and a live preview. - [Form Builder API](https://docs.birchui.com/forms/builder-api.md): Options, methods, events and types of createFormBuilder, with examples for programmatic editing, selection, toolbox control and JSON Schema. - [Troubleshooting](https://docs.birchui.com/forms/troubleshooting.md): Fix forms that render empty or unstyled, validation that does not fire, conditions and computed fields that do nothing, answers missing from submitted data, JSON Schema surprises and Form Builder watermarks. ## Frameworks - [React](https://docs.birchui.com/frameworks/react.md): Use Birch UI Grid in React and Next.js with the BirchGrid component, typed generics, a ref to the grid API and server rendering. - [Vue](https://docs.birchui.com/frameworks/vue.md): Use Birch UI Grid in Vue 3 and Nuxt with the BirchGrid component, options as attributes, kebab-case events and a template ref to the grid API. - [Angular](https://docs.birchui.com/frameworks/angular.md): Use Birch UI Grid in Angular with the standalone BirchGridComponent, signal inputs, typed outputs, the grid API and server-side rendering. - [Svelte](https://docs.birchui.com/frameworks/svelte.md): Use Birch UI Grid in Svelte 5 and SvelteKit with the BirchGrid component or the use:birchGrid action. - [Solid](https://docs.birchui.com/frameworks/solid.md): Use Birch UI Grid in Solid and SolidStart with the generic BirchGrid component, reactive props and a ref to the grid API. - [Web Component](https://docs.birchui.com/frameworks/web-component.md): Use the custom element from @birchui/element with properties, attributes and DOM events, in plain HTML or any framework. - [Using the Scheduler in your framework](https://docs.birchui.com/frameworks/scheduler.md): Render Birch UI Scheduler in React, Vue, Angular, Svelte, Solid or as a Web Component through each adapter's /scheduler entry point. - [Troubleshooting](https://docs.birchui.com/frameworks/troubleshooting.md): Fix the common problems with the React, Vue, Svelte, Angular, Solid and Web Component adapters, from double mounts to reactive proxies and zone change detection. ## Recipes - [Recipes](https://docs.birchui.com/recipes.md): Task-focused guides with complete code for every Birch UI product, from persisting grid state to importing MS Project files. - [Persist grid state to localStorage](https://docs.birchui.com/recipes/grid-persist-state.md): Save sorting, filters, column layout, selection and expansion with getState() and restore them with setState() on the next visit. - [Load rows from a REST API](https://docs.birchui.com/recipes/grid-server-side-rest.md): Connect the server-side row model to a REST endpoint with fetch, translate each block request into a query string and cancel stale requests with AbortSignal. - [Load rows from GraphQL](https://docs.birchui.com/recipes/grid-server-side-graphql.md): Back the server-side row model with a GraphQL query, passing sort, filters and the requested block as variables and cancelling stale queries. - [Excel export with custom styles](https://docs.birchui.com/recipes/grid-excel-custom-styles.md): Export the grid view to .xlsx and restyle it to match your brand, with a title row, coloured headers, conditional fills and number formats. - [Editable grid with validation and undo](https://docs.birchui.com/recipes/grid-editing-validation-undo.md): Validate user input with valueParser and editable callbacks, show feedback, and let users undo and redo edits with undoRedo, api.undo() and api.redo(). - [Nested grids in master/detail](https://docs.birchui.com/recipes/grid-master-detail-nested.md): Show each customer's orders in a nested grid, and each order's lines in a third level, with MasterDetailModule and correct cleanup. - [Show a million rows](https://docs.birchui.com/recipes/grid-million-rows.md): Render, sort and scroll one million client-side rows with row and column virtualization, and the habits that keep a large grid fast. - [Keyboard-only workflows](https://docs.birchui.com/recipes/grid-keyboard-workflows.md): Set up a grid that power users and keyboard-only users can drive end to end, from navigation and editing to menus, filters, undo, ranges and the clipboard. - [Translate the grid and support right-to-left](https://docs.birchui.com/recipes/grid-i18n-rtl.md): Run the grid in German with a bundled locale pack, add your own Arabic strings with plural forms, and lay it out right to left. - [Migrate an AG Grid app with the CLI](https://docs.birchui.com/recipes/grid-migrate-ag-grid-cli.md): Move an existing AG Grid code base to Birch UI Grid with birchui-migrate, from a dry run and report to applying the changes and clearing manual steps. - [Match your design system](https://docs.birchui.com/recipes/grid-design-system-theme.md): Map your design tokens onto the grid's --lq-* custom properties to build a named theme with light and dark variants, density and accessible contrast. - [Birch UI Grid in the Next.js App Router](https://docs.birchui.com/recipes/grid-nextjs-ssr.md): Render the grid from a Client Component in the Next.js App Router, load data in a Server Component, lazy-load Grid Pro and pass the license key from an environment variable. - [Grid Pro in an Angular standalone app](https://docs.birchui.com/recipes/grid-angular-standalone.md): Use the birchui-grid component in a standalone, zoneless Angular app with signal inputs, a computed options object, outputs and Grid Pro modules. - [Collapsible column groups](https://docs.birchui.com/recipes/grid-column-groups.md): Group related columns under shared headers with ColumnGroupDef, make groups collapsible with columnGroupShow, and open or close them from code. - [Custom cell context menu](https://docs.birchui.com/recipes/grid-context-menu.md): Add row actions to the grid's right-click menu, keep or drop the built-in copy and export items, and disable the menu entirely with the contextMenu option. - [Streaming live updates](https://docs.birchui.com/recipes/grid-live-updates.md): Apply a stream of WebSocket messages to the grid with batched applyTransaction calls, flash changed cells and keep sorting and selection stable. - [Import an Excel file into a grid](https://docs.birchui.com/recipes/grid-import-xlsx.md): Read an uploaded .xlsx file with readXlsx, turn its rows into typed records with sheetToObjects, validate them and show them in a grid for review. - [Save and load pivot layouts](https://docs.birchui.com/recipes/pivot-saved-layouts.md): Let users save named Pivot Studio layouts as PivotReport JSON, keep them in localStorage or on your server, and open them again. - [Load pivot data from an API or CSV](https://docs.birchui.com/recipes/pivot-from-api.md): Fetch records from a JSON API or a CSV export, clean them with parseCsv or csvToRecords, and load them into Pivot Studio with loading and error states. - [Validate scheduler drag and drop](https://docs.birchui.com/recipes/scheduler-drag-validation.md): Combine validateDrop and validateResize to block double bookings, keep jobs inside working hours and only assign work to qualified technicians. - [Schedule recurring maintenance jobs](https://docs.birchui.com/recipes/scheduler-recurring-jobs.md): Model planned maintenance with SchedulerEvent.rrule and exdates, let users edit one occurrence or the whole series, and store detached occurrences. - [Undo and redo in the scheduler](https://docs.birchui.com/recipes/scheduler-undo-redo.md): Turn on scheduler history with the undoRedo option, add undo and redo buttons driven by historyChange, and keep a server in step when users undo. - [Save scheduler changes to a server](https://docs.birchui.com/recipes/scheduler-save-to-server.md): Persist every scheduler edit from historyChange, batch requests, roll back changes the server rejects, and apply updates from other users without echoing them back. - [Import and export MS Project files](https://docs.birchui.com/recipes/gantt-ms-project-import.md): Let users open MS Project XML files in the Gantt with a preview step, keep your own task fields across a round trip, and export the schedule back to XML. - [Build a critical path report](https://docs.birchui.com/recipes/gantt-critical-path-report.md): Use the headless Gantt engine to compute the critical path, slack and constraint conflicts of a project, and render them as a report or an Excel file. - [Add custom worksheet functions](https://docs.birchui.com/recipes/spreadsheet-custom-functions.md): Define reusable workbook functions with LAMBDA and defined names, share them across sheets, and test them with the headless formula engine. - [Load and save xlsx files](https://docs.birchui.com/recipes/spreadsheet-load-save-xlsx.md): Open xlsx files from a file input, a URL or drag and drop, save them back to a server as xlsx or workbook JSON, and convert files on the server without the component. - [Save Form Builder schemas and render them](https://docs.birchui.com/recipes/forms-builder-save-schemas.md): Persist schemas from the Form Builder with versioning and server-side checks, then load the published version and render it with createForm. - [Validate form submissions on the server](https://docs.birchui.com/recipes/forms-server-validation.md): Re-check submitted answers on the server with JSON Schema and the expression engine, run async checks while users type, and show the server's errors next to the right fields. - [Publish and subscribe to iCalendar feeds](https://docs.birchui.com/recipes/calendar-ical-feed.md): Serve a team's events as a subscribable .ics feed with toICS, show external feeds in the Event Calendar with parseICS, and import .ics files without duplicates. - [Build a chart dashboard from a grid](https://docs.birchui.com/recipes/charts-dashboard-from-grid.md): Drive several charts from the rows a Birch UI Grid shows, so filtering the grid updates the dashboard, and chart a selected range with chartFromRange. - [Save, load and auto-arrange diagrams](https://docs.birchui.com/recipes/diagram-save-load-layout.md): Persist diagrams as DiagramDocument JSON, restore them with fromJSON, lay out graphs that arrive without coordinates, and keep layout results out of your change log. - [Build a multi-sheet Excel report](https://docs.birchui.com/recipes/excel-report-workbook.md): Write a styled monthly report with a summary sheet, a detail sheet and per-depot outlines using writeXlsx, with cross-sheet formulas and cached values. ## Support - [Error and warning codes](https://docs.birchui.com/support/errors.md): Every console warning and error Birch UI products print, with its stable LQ code, the cause and the fix. ## Contributing - [Contributing](https://docs.birchui.com/contributing/overview.md): Repository layout, everyday commands and how to write and preview pages for the Birch UI documentation. - [Engineering Standard](https://docs.birchui.com/contributing/engineering-standard.md): The repository rules for layout, public API, TypeScript, runtime behaviour, performance, accessibility, CSS, testing and workflow. ## API reference - [API reference](https://docs.birchui.com/api.md): Generated reference for every exported function, interface, type and constant in each package. - [@birchui/core](https://docs.birchui.com/api/core.md): Grid engine: createGrid, options, column definitions, events and the module system. - [@birchui/grid-pro](https://docs.birchui.com/api/grid-pro.md): Grid Pro modules: grouping, aggregation, tree data, pivot, range selection, clipboard, fill handle, master/detail, status bar, Excel and the server-side row model. - [@birchui/excel](https://docs.birchui.com/api/excel.md): Excel Engine: xlsx writer and reader, cell references, date serials and zip helpers. - [@birchui/license](https://docs.birchui.com/api/license.md): Offline license key verification and activation. - [@birchui/scheduler](https://docs.birchui.com/api/scheduler.md): Scheduler: createScheduler, resources, events, recurrence, undo and redo, and the timeline API. - [@birchui/gantt](https://docs.birchui.com/api/gantt.md): Gantt: createGantt, tasks, dependencies, calendars, scheduling, MS Project XML and the headless project engine. - [@birchui/calendar](https://docs.birchui.com/api/calendar.md): Event Calendar: createCalendar, views, recurrence rules, iCal import and export, and the calendar API. - [@birchui/charts](https://docs.birchui.com/api/charts.md): Charts: createChart, series and axis options, zoom, export to SVG and PNG, grid range charts and sparklines. - [@birchui/diagram](https://docs.birchui.com/api/diagram.md): Diagram: createDiagram, nodes, edges, ports, routing, auto-layout, history and export. - [@birchui/spreadsheet](https://docs.birchui.com/api/spreadsheet.md): Spreadsheet: createSpreadsheet, the workbook JSON model, the headless formula engine and xlsx conversion. - [@birchui/document](https://docs.birchui.com/api/document.md): Document Editor: createDocumentEditor, the document JSON model, DOCX and PDF conversion, review and collaboration. - [@birchui/pdf](https://docs.birchui.com/api/pdf.md): PDF: createPdfViewer, annotations, forms, page tools, redaction and saving. - [@birchui/pivot-studio](https://docs.birchui.com/api/pivot-studio.md): Pivot Studio: createPivotStudio, reports, data loading, the headless pivot engine and pivot charts. - [@birchui/forms](https://docs.birchui.com/api/forms.md): Forms: the MIT JSON form renderer (createForm, expressions, validation, JSON Schema) and the commercial Form Builder. - [@birchui/migrate](https://docs.birchui.com/api/migrate.md): Migration tooling: converters for AG Grid and MUI X Data Grid configuration, the birchui-migrate codemod and its report. - [@birchui/react](https://docs.birchui.com/api/react.md): React components for the grid and scheduler. - [@birchui/vue](https://docs.birchui.com/api/vue.md): Vue 3 components for the grid and scheduler. - [@birchui/angular](https://docs.birchui.com/api/angular.md): Angular standalone components for the grid and scheduler. - [@birchui/svelte](https://docs.birchui.com/api/svelte.md): Svelte 5 component and action for the grid and scheduler. - [@birchui/solid](https://docs.birchui.com/api/solid.md): Solid components for the grid and scheduler. - [@birchui/element](https://docs.birchui.com/api/element.md): Custom elements for the grid and scheduler. - [@birchui/doctor](https://docs.birchui.com/api/doctor.md): Diagnose Birch UI installs: versions, duplicates, frameworks, license keys, styles and SSR setup ## Optional - [Full documentation](https://docs.birchui.com/llms-full.txt): every page above concatenated as Markdown