SvGridのロゴ

SvGrid

組織
sv-grid

Native Svelte 5 data grid. Headless-first engine + drop-in render component. Row + column virtualization (1M rows), Excel-style filters, inline editing, grouping, pivot, server-side data. MIT core (@svgrid/grid), MCP server for Claude / Cursor. https://svgrid.com

公開者sv-grid
リポジトリsv-grid
言語TypeScript
フォーク
7
スター
178
利用可能なツール
6
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    SvGridは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 6個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには178件のスターと7件のフォークがあります。

SvGrid

npm version npm downloads CI MIT License TypeScript Svelte 5 GitHub stars

The Svelte data grid. Headless-first. Render-ready.

SvGrid is a data grid and data table for Svelte 5, written with runes from the first line rather than ported from a React grid. It virtualizes rows and columns (there is a 1 million row demo below) and ships Excel-style filtering, inline editing, row grouping, tree data, pivot, charts, and server-side data. Drop in the <SvGrid /> component, or build your own table on the headless engine from @svgrid/grid/core. MIT licensed, TypeScript-first, and it server-renders under SvelteKit.

Quick links: Website · Docs · 400+ Demos · Pricing · Roadmap · Blog · Releases · npm

If you build on Svelte 5, star the repo so it is there when you need a grid. Stars are also how other Svelte developers find it.


Install

bash
npm install @svgrid/grid

Or start from a working Vite + Svelte 5 app (npm create @svgrid@latest), or add it to a Svelte CLI project with npx sv add @svgrid.

The 30-second example

svelte
<script lang="ts">
  import { SvGrid, type GridColumns } from '@svgrid/grid'

  type Row = { firstName: string; age: number; status: string }

  const data = $state<Row[]>([
    { firstName: 'Ada',   age: 36, status: 'active' },
    { firstName: 'Linus', age: 54, status: 'active' },
    { firstName: 'Grace', age: 85, status: 'inactive' },
  ])

  const columns: GridColumns<Row> = [
    { field: 'firstName', header: 'First name' },
    { field: 'age',       header: 'Age' },
    { field: 'status',    header: 'Status' },
  ]
</script>

<SvGrid {data} {columns} sortable filterable editable />

That is a working, accessible table. Sorting, filtering, virtualization, cell selection, and inline editing each switch on with the matching prop.

Headless or render: same engine

<SvGrid /> is a renderer over a headless state machine, and the state machine is public. Import it from @svgrid/grid/core (2.6 KB gzipped, no DOM, no CSS) when you want your own markup, a canvas renderer, or a row model you can unit-test in plain Node:

ts
import {
  createSvGrid, createCoreRowModel, createSortedRowModel,
  tableFeatures, rowSortingFeature, sortFns,
} from '@svgrid/grid/core'

const grid = createSvGrid({
  _features: tableFeatures({ rowSortingFeature }),
  _rowModels: {
    coreRowModel: createCoreRowModel(),
    sortedRowModel: createSortedRowModel(sortFns),
  },
  columns,
  data,
})

for (const row of grid.getRowModel().rows) {
  for (const cell of row.getAllCells()) drawCell(cell)
}

Features are opt-in modules, so a grid that never groups never ships grouping. The render component uses the exact same hooks. See Why headless? and the headless table demo.

See it running

Every demo opens in the browser and has an Edit in StackBlitz button that turns it into a live Vite + Svelte 5 project. Nothing to install.

Trading desk10,000 securities on a 500 ms feed1 million rowssort, filter, group and edit, all onSpreadsheet + formulasformula cells in a real grid
Kanban boardthe same grid, board modeSchedulercalendar views off the same dataCell typesevery editor in one grid

All 400+ demos are browsable by category.

What ships free

The MIT package has no license key, no watermark, and no row-count cap.

  • Virtual scrolling over rows and columns. 100k rows x 100 columns scroll smoothly; the 1M-row demo is above.
  • Filtering. Excel-style filter menu, inline filter row, set filter, between operator on numbers and dates, locale-aware text matching.
  • Editing. 18 built-in editorTypes from text and number to date/time pickers, rich-select with typeahead, autocomplete, chips, color, and rating, plus a cellEditor snippet for anything else.
  • Selection. Cell ranges by drag or Shift+arrows, TSV copy/paste, an Excel-style fill handle, drag a range to move it.
  • Views. Row grouping with aggregation, tree data, master/detail, and a spreadsheet layout mode (merged cells and per-cell borders). Formula cells in the free core go through an adapter seam you point at your own hyperformula install; the built-in formula engine and <SvSheet> are in the Suite edition of @svgrid/enterprise.
  • Layout. Row and column pinning, sticky header, drag-to-reorder, resizable rows and columns, a responsive mode for phones.
  • Operations. Find in grid (Ctrl+F), undo/redo, a transaction API, optimistic updates, server-side sort/filter/paging and infinite scroll.
  • Charts. A chart panel on the grid's rows and a standalone SvChart: 29 SVG chart types, zoom, drilldown, technical indicators, export. No charting library.
  • AI helpers. Natural-language filter, smart fill, summarize, classify, anomaly detection, "chart this". You register one provider; nothing is bundled.
  • A Svelte 5 UI suite in the same package (inputs, selects, date/time, overlays, layout), usable standalone or as cell editors.
  • Accessibility and i18n. WAI-ARIA grid roles, full keyboard navigation, RTL, a high-contrast theme, every string overridable through localeText.
  • Production. Bundled types, CSP and Trusted-Types safe rendering, SvelteKit SSR, theming through --sg-* CSS custom properties.

In production

"We were looking for an Excel-like library using SvelteKit. Then I explored your library a lot, mostly everything about SvGrid: cell selection, grabbing cells, updating values in cells. So we used it for an accounting application. It was so easy to integrate. We even built our custom theme, by updating the svgrid.css file which includes all the classes. We found no issues yet, everything just worked for us."

Sikandar Bhide - built an accounting app on SvelteKit

Quick facts

Package@svgrid/grid, peer dependency svelte@^5
LicenseMIT, free for commercial use
Bundle (gzip)~2.6 KB headless core, ~96 KB full <SvGrid> + ~10 KB CSS; charts, date pickers, menus and export load as separate chunks on first use
SSRHeader plus a viewport window of rows in the server HTML; checked in CI by pnpm ssr:check
Demos400+ demos, each with a StackBlitz button
AI groundingMCP server, llms.txt, Agent Skill

Numbers are measured, not typed: pnpm size and pnpm demos:count re-derive them.

AI-native

Writing SvGrid with Claude, Cursor, or Zed? The MCP server carries the real API surface and its svgrid_check_code tool verifies generated code against it before you see it, so assistants cite real props and events instead of inventing them.

json
{
  "mcpServers": {
    "svgrid": { "command": "npx", "args": ["-y", "@svgrid/mcp"] }
  }
}

Claude Code gets the server plus an always-on house-style skill from one plugin:

/plugin marketplace add sv-grid/sv-grid
/plugin install svgrid@svgrid

For RAG and custom agents there is llms.txt (index) and llms-full.txt (every doc page). See Use sv-grid docs as LLM context.

Coming from another grid?

SvGridAG Grid CommunityTanStack Table
Svelte 5 runes nativeYesNo, JS core + wrapperAdapter only
Ships a rendererYes, plus headlessYesNo, headless only
Virtualization built inYesYesBring your own
Master/detail, tree, range selectionFreeEnterprise onlyBuild it yourself
LicenseMIT core, commercial packMIT core, commercial packMIT

Bundle sizes are measured, dated, and published on the comparison pages. Multi-framework teams are better served by AG Grid or TanStack Table; SvGrid is deliberately Svelte-first. Guides: Migrating from AG Grid · Migrating from Handsontable · SvGrid with SvelteKit

Packages

You want toInstallLicense
A data grid in a Svelte 5 / SvelteKit app@svgrid/gridMIT
Excel / PDF export, import, pivot tables, print, advanced filter builder, alert rules, Kanban + scheduler + Gantt renderers, server-side row model+ @svgrid/enterpriseCommercial, Grid
A real spreadsheet: <SvSheet>, the built-in formula engine, .xlsx / .xls / .ods / .csv read and write+ @svgrid/enterpriseCommercial, Suite
The grid in React, Vue, Angular, or plain HTML@svgrid/grid-wcMIT
Accurate SvGrid answers from Claude / Cursor / Zed@svgrid/mcpMIT
To copy one UI component into your app, shadcn-stylenpx @svgrid/ui add <name>MIT
To port an existing svelte-headless-table appnpx @svgrid/migrateMIT
A generated CRUD app from your database schema@svgrid/studioCommercial, Suite

@svgrid/enterprise sells in two editions, both covering unlimited production apps. Grid is the enterprise grid. Suite adds the spreadsheet and Studio. Shipping SvGrid to third parties as a component, an SDK, or an app builder they build with needs an OEM license, which is separate from developer seats. See Pricing and Section 4A of the EULA.

Open-source projects under an OSI-approved license get a Suite key free. See Pricing.

FAQ

Does SvGrid work with SvelteKit and SSR? Yes. The server HTML contains the header and a viewport-sized window of rows with real cell values, so crawlers and no-JS clients see content; the remaining rows arrive once the client measures the viewport. Verified in CI against a real server build. See going to production.

Is it free for commercial use? Yes. @svgrid/grid is MIT with no license key, watermark, or row cap. Only the optional @svgrid/enterprise pack is paid.

Does it support Svelte 4? No. SvGrid is Svelte 5 only, on runes and snippets, which is what lets it skip the abstraction layer a cross-version grid needs.

How many rows can it handle? 100k rows x 100 columns on the client, with only the visible window in the DOM. Past that, the free server-side controller pushes sorting, filtering and paging to your backend, and the Enterprise row model adds lazy grouping, tree, pivot, and transactions.

Do I need Tailwind? No. The component ships its own scoped styles and re-themes through --sg-* custom properties. Tailwind works too: Tailwind guide.

Is it accessible? WAI-ARIA 1.2 grid pattern, full keyboard navigation, a screen-reader announcement layer, RTL, and a high-contrast theme. Details in accessibility.

What's not built yet? A custom filter component slot, custom tool panels, a viewport row model over a socket, and non-Gregorian calendars. Full list with effort tags on the roadmap and in missing features.

Who's behind it

SvGrid is built by jQWidgets, the team behind jqwidgets.com and htmlelements.com. We have shipped UI components since 2011 to 5,000+ companies including Samsung, Boeing, NVIDIA, Microsoft, Nokia, and Intel. SvGrid is our Svelte 5 native effort, funded by Enterprise licenses rather than donations.

Contributing and support

License

Mixed. @svgrid/grid, grid-wc, ui, mcp, migrate, sv, and the two create-* scaffolders are MIT (see each package's LICENSE). The Enterprise pack, Studio, and the website are commercial: the source is visible for evaluation, but visibility does not grant a license.

SvGrid™ and sv-grid™ are trademarks of jQWidgets Ltd. The licenses cover source code only and grant no rights to the names or logos.


If SvGrid saved you some work, star the repo. It is the main way other Svelte developers find it, and it tells us which parts to keep building.

インストール

TypingMind
{
  "mcpServers": {
    "sv-grid": {
      "command": "npx",
      "args": [
        "-y",
        "@svgrid/mcp"
      ]
    }
  }
}

利用可能なツール

  • list_examples

    List every SvGrid example demo with id, title, and short blurb. Use to discover what is available before fetching source.

  • get_example_source

    Return the full .svelte source of a specific demo by id (e.g. "11-stock-market"). The source is what a user would copy into their project as-is.

  • list_docs

    List every documentation page with slug and title. Slugs use forward slashes, e.g. "help/columns/column-definitions".

  • get_doc

    Return the markdown content of a specific documentation page by slug.

  • search_docs

    Case-insensitive substring search across all SvGrid docs. Returns matching slugs with a one-line excerpt around the first hit.

  • get_api_reference

    Return the curated SvGrid public-API surface, grouped by category (components, headless, row models, features, virtualization, accessibility, utilities).

SvGridのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度SvGridに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

SvGridをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. SvGridのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "sv-grid": {
      "command": "npx",
      "args": [
        "-y",
        "sv-grid"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてSvGridのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. SvGridのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
SvGridを使ってこのタスクを手伝ってもらえますか?
SvGrid
はい、読みました。
SvGridで調べた結果をお伝えします。

よくある質問

SvGrid MCPサーバーは何に使いますか?

SvGridは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでSvGrid MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでSvGridを利用できます。

TypingMindでSvGrid MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。SvGridを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

SvGrid MCPをTypingMindに接続するにはどうすればよいですか?

SvGridはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでSvGrid MCPのどのようなツールを利用できますか?

SvGridは6個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

SvGrid MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。SvGridで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇