A working starting point
npm install @birchui/svelte @birchui/core @birchui/grid-proShow Data-grid.svelte
<script>
import { BirchGrid } from '@birchui/svelte';
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'];
</script>
<BirchGrid
style="height: 520px"
licenseKey={'LQ1.your-key'}
modules={AllProModules}
{columns}
rows={sales}
{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 Svelte
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 Svelte you pass the modules as an option; nothing else in your component changes.
The Svelte package offers the data grid both as a component and as a use: action. Components ship as .svelte source and compile with your app through the svelte export condition.
Keep large arrays and the bound api in $state.raw. Deep $state would proxy every record for no gain. During SvelteKit SSR the component renders its empty container, and the widget is created in an effect in the browser.
Questions
Is the basic Svelte 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.
Is the Svelte data grid written for Svelte 5?
Yes. Props and handlers follow runes, and the action form fits markup where a component would be in the way.
Is Svelte a second-class target?
No. The Svelte adapter runs the same smoke tests in CI as React, Vue and Angular, over the same engine.
Same engine, other pairings
Every Birch UI product runs in every adapter.