Monorepo containing React wrappers for Highcharts Grid Lite and Highcharts Grid Pro.
This monorepo contains the following packages:
- @highcharts/grid-lite-react - React wrapper for Highcharts Grid Lite
- @highcharts/grid-pro-react - React wrapper for Highcharts Grid Pro
- @highcharts/grid-shared-react - Shared core functionality used by both Grid Lite and Grid Pro React wrappers
# For Grid Lite
npm install @highcharts/grid-lite-react
# For Grid Pro
npm install @highcharts/grid-pro-reactimport React, { useState } from 'react';
import { GridLite, type GridOptions } from '@highcharts/grid-lite-react';
function App() {
const [options] = useState<GridOptions>({
dataTable: {
columns: {
name: ['Alice', 'Bob', 'Charlie'],
age: [23, 34, 45]
}
}
});
return <GridLite options={options} />;
}import React, { useState } from 'react';
import { GridPro, type GridOptions } from '@highcharts/grid-pro-react';
function App() {
const [options] = useState<GridOptions>({
dataTable: {
columns: {
name: ['Alice', 'Bob', 'Charlie'],
age: [23, 34, 45]
}
}
});
return <GridPro options={options} />;
}highcharts-grid-react/
├── packages/ # Source packages
│ ├── grid-lite-react/ # Grid Lite React wrapper
│ ├── grid-pro-react/ # Grid Pro React wrapper
│ └── grid-shared-react/ # Shared core functionality
├── examples/ # Example applications
│ ├── grid-lite-example/ # Example using Grid Lite
│ └── grid-pro-example/ # Example using Grid Pro
└── README.md # This file
packages/grid-lite-react/- React component wrapper for Highcharts Grid Lite. See README for details.packages/grid-pro-react/- React component wrapper for Highcharts Grid Pro. See README for details.packages/grid-shared-react/- Internal package containing shared React components and hooks used by both wrappers.
examples/grid-lite-example/- Example React application demonstrating how to use@highcharts/grid-lite-reactexamples/grid-pro-example/- Example React application demonstrating how to use@highcharts/grid-pro-react
This is a monorepo managed with pnpm workspaces.
- Node.js (version specified in
.nvmrcor package.json) - pnpm 10.23.0 or higher
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Lint all packages
pnpm lintTo run the example applications:
# Run Grid Lite example
cd examples/grid-lite-example
pnpm install
pnpm dev
# Run Grid Pro example
cd examples/grid-pro-example
pnpm install
pnpm dev- Grid Lite React Documentation
- Grid Pro React Documentation
- Highcharts Grid Lite Documentation
- Highcharts Grid Pro Documentation
SEE LICENSE IN LICENSE.