Getting started
Open Grid separates its framework-agnostic engine, framework adapters, styled UI renderers, virtualization primitives, and theme tokens. Most applications should start with the maintained UI package for their framework.
Install
npm install @open-grid/react-ui @open-grid/theme react react-domnpm install @open-grid/vue-ui @open-grid/theme vuenpm install @open-grid/svelte-ui @open-grid/theme svelteChoose a rendering layer
- Use
@open-grid/react-ui,@open-grid/vue-ui, or@open-grid/svelte-uifor the maintained product-ready grid surface. - Use
@open-grid/react,@open-grid/vue, or@open-grid/sveltewith@open-grid/primitivesfor a custom renderer. - Use
@open-grid/coredirectly for framework-independent state and row-model workflows.
Compatibility
Open Grid is TypeScript-first and publishes ESM packages with bundled type declarations. Modern JavaScript applications can use the same runtime APIs with import, but CommonJS require(), UMD bundles, and a maintained vanilla-JavaScript UI renderer are not part of the 0.1 support contract.
| Integration | Supported range | Release validation |
|---|---|---|
| React | >=18.2.0 <20 | React 18.3.1 and 19.2.8 |
| Vue | >=3.4.0 <4 | Vue 3.4.38 and 3.5.41 |
| Svelte | >=4.2.20 <6 | Svelte 4.2.20 and 5.56.8 |
| TypeScript | Type declarations included | TypeScript 5.7 and 5.9 workspace builds |
| JavaScript | Modern ESM | Same compiled runtime APIs without static typing |
@open-grid/core and @open-grid/virtual do not require React, Vue, or Svelte. Use them directly from TypeScript or JavaScript when a product owns its rendering layer. Framework adapters declare their host framework as a peer dependency, so the application controls that framework version and Open Grid does not bundle a second copy.
Add styles
The maintained UI packages require the shared theme and renderer styles.
import "@open-grid/theme/css";
import "@open-grid/react-ui/css";import "@open-grid/theme/css";
import "@open-grid/vue-ui/css";import "@open-grid/theme/css";
import "@open-grid/svelte-ui/css";Continue with the React, Vue, or Svelte guide for typed columns, controlled state, virtualization, editing, grouping, and server-owned workflows.