Documentation
Pretable is a React grid built around a deterministic engine. Selection survives filters; scroll stays at 60fps with 500k rows.
Sections
Getting Started
Install + first grid walks you through npm install to a rendered three-column, five-row grid in five minutes. Concepts is a one-page mental-model overview of the engine + theming + streaming layers — read it before diving into customization.
Theming
Theming covers the full customization surface: pick a prebuilt theme (Excel or Material 3), override individual --pretable-* tokens, switch light/dark and density at runtime, and author your own themes from a template. The token reference is the canonical 24-token table.
Coming soon
The rest of the docs surface lands in subsequent releases:
- Grid — the engine API: columns, rows, selection, focus, sort, filter, density helpers.
- Streaming — transactions API and JSON streaming.
- API Reference —
PretableGridprops, column types, theme token contract, density helpers. - Examples — live, copy-pasteable patterns: basic table, light/dark switcher, density picker.
Source
The codebase, including this site, lives at github.com/cacheplane/pretable.