Documentation

Installation

Install the React bindings (the framework-agnostic core is pulled in automatically):

npm i @kanunilabs/pivotgrid-react

(Any package manager works — yarn add / pnpm add too.)

The React package declares its UI libraries as peer dependencies. npm 7+ installs these automatically; if your setup doesn't, add the ones your app doesn't already have:

npm i @dnd-kit/core lucide-react zustand

Styles

Import the stylesheet once, near your app root:

import '@kanunilabs/pivotgrid-react/styles.css';

TypeScript

Types ship with the packages — no @types/* needed. The public API is fully typed, including PivotField, PivotLocale, and the component props.

Next: render your first grid.