# @rbnnghs/lumen-grid

Publish with `npm publish` from this directory (scoped package; `publishConfig.access` is `public`).

> A grid that lights up the bits of your data you couldn't see at a glance.

Open-source React data grid with **virtualiser, inference cache, LLM adapters, and UI** in a **single dependency**. Peer deps only: **`react`** and **`react-dom`** (`>=18`).

```bash
pnpm add @rbnnghs/lumen-grid
npm install @rbnnghs/lumen-grid
```

```tsx
import { Grid } from '@rbnnghs/lumen-grid'

export function Demo() {
  return (
    <Grid
      data={rows}
      columns={[
        { field: 'photo', header: 'Image', width: 96 },
        { field: 'notes', header: 'Review', width: 360 },
      ]}
      getRowId={(r) => r.id}
      aiConfig={{ provider: 'anthropic', apiKey: '…' }}
      height={560}
    />
  )
}
```

Advanced use (engines + plugins): re-export surface from the same package — **`export *`** from `./engine` and `./llm` is available via the [`main barrel`](./src/index.ts). See **[DOCS.md](https://github.com/rbnnghs/lumen/blob/main/DOCS.md)** for `InferenceCache`, `visionPlugin`, `applyFilters`, and more.

**Source / issues:** <https://github.com/rbnnghs/lumen>
