Solid spreadsheet

An Excel-compatible spreadsheet for Solid: 494 functions, dynamic arrays and xlsx round trips.

Spreadsheet

Early access

$399

Per developer, paid once, lifetime updates

A working starting point

npm install @birchui/solid @birchui/core @birchui/spreadsheet
Show spreadsheet.jsx
spreadsheet.jsx
import { Show, createSignal } from 'solid-js';
import { createSolidComponent } from '@birchui/solid';
import { spreadsheetDefinition } from '@birchui/spreadsheet';

const BirchSpreadsheet = createSolidComponent(spreadsheetDefinition);

const workbook = {
  version: 1,
  sheets: [
    {
      name: 'Loan',
      cells: {
        A1: { value: 'Principal' },
        B1: { value: 250000 },
        A2: { value: 'Annual rate' },
        B2: { value: 0.0625, style: { numberFormat: '0.00%' } },
        A3: { value: 'Payment' },
        B3: { formula: '=PMT(B2/12, 360, -B1)' },
      },
    },
  ],
};

export function Spreadsheet() {
  const [ready, setReady] = createSignal(false);

  return (
    <section aria-busy={!ready()}>
      <Show when={!ready()}>
        <p>Preparing the spreadsheet…</p>
      </Show>
      <BirchSpreadsheet
        style={{ height: '520px' }}
        onReady={() => setReady(true)}
        licenseKey={'LQ1.your-key'}
        height={520}
        data={workbook}
        onCellChange={({ address, newValue }) => console.info(address, newValue)}
      />
    </section>
  );
}

Measured: across 1,520 test formulas, 95.5% of results match LibreOffice. A dependency graph recalculates only the cells an edit affects.

How it fits Solid

Birch UI Spreadsheet combines a formula engine with a virtualized, keyboard-complete sheet. Formulas, styles, merges and frozen panes survive an xlsx round trip. Solid mounts it through the generic factory of its adapter.

The Solid adapter tracks every prop in one effect and batches changed keys into a single update() call. The spreadsheet itself is never recreated.

Handlers are read when an event fires, so a reactive handler is always current and never resubscribes. Solid’s server build renders the container with a hydration key; the browser adopts it and creates the widget in onMount.

Questions

Does the Solid spreadsheet support LAMBDA?

Yes: LET, LAMBDA and dynamic arrays such as FILTER, SORT, UNIQUE and XLOOKUP, with #SPILL! when blocked.

Is it in early access?

Yes. It is a feature-complete v0.1; structured references and the spill operator are on the roadmap.

Does the Solid spreadsheet support SolidStart SSR?

Yes. The container is server-rendered with a hydration key and the widget mounts in the browser only.

How do I get the API in Solid?

Pass a variable or a callback as ref. It receives the typed API once the widget exists.