npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gridex

v0.9.0

Published

The definitive React data grid — all features, fully customizable, zero paywalls

Downloads

302

Readme

gridex

The definitive React data grid -- all features, fully customizable, zero paywalls.

Built on TanStack Table v8, React 18+, TypeScript, and CSS Modules.

Website | Documentation & Live Demos | GitHub | Issues

Features

| Category | Features | | ----------------- | ---------------------------------------------------------------------------------------------------- | | Core | Sorting (single/multi), filtering (text/number/date/select/boolean/set), pagination, global search | | Selection | Single/multi row, cell range selection, checkbox column, cross-page persistence | | Columns | Resize, reorder (drag-and-drop), pin left/right, visibility toggle, grouped headers, auto-generation | | Performance | Virtual scrolling (100k+ rows at 60fps), viewport-based lazy loading | | Editing | Cell/row/batch editing, type-specific editors, validation, clipboard paste, fill handle, undo | | Advanced | Pivot tables, formulas (SUM/AVG/IF...), sparklines, cell comments, find & replace | | Data | Server-side sorting/filtering/pagination, row grouping, tree data, live streaming updates | | Export | CSV, Excel (styled), PDF, clipboard copy | | UI | Light/dark/auto themes, density modes, sidebar panels, status bar, tooltips, overlays | | Accessibility | WAI-ARIA grid, full keyboard navigation, screen reader, RTL, touch-optimized |

Every feature AG Grid charges $999+/dev for -- free and MIT-licensed.

Install

npm install gridex

Peer dependencies: react >= 18, react-dom >= 18.

Quick Start

import { Gridex, createColumns } from "gridex";
import "gridex/dist/index.css";

type Person = { name: string; age: number; email: string };

const data: Person[] = [
  { name: "Alice", age: 32, email: "[email protected]" },
  { name: "Bob", age: 28, email: "[email protected]" },
];

const columns = createColumns<Person>((col) => [
  col.accessor("name", { header: "Name" }),
  col.accessor("age", { header: "Age", type: "number" }),
  col.accessor("email", { header: "Email" }),
]);

function App() {
  return <Gridex data={data} columns={columns} />;
}

Examples

All features at a glance

<Gridex
  data={data}
  columns={columns}
  sorting={{ defaultSort: [{ id: "name", desc: false }] }}
  filtering={{ showFilterRow: true, globalFilter: true }}
  pagination={{ pageSize: 10 }}
  selection={{ mode: "multiple" }}
  columnConfig={{
    enableResizing: true,
    enableReordering: true,
    enablePinning: true,
  }}
  virtualization={{ height: 600 }}
  editing={{ enabled: true, trigger: "doubleClick" }}
  expansion={{ enabled: true, renderDetail: (row) => <Detail row={row} /> }}
  theme="dark"
  density="compact"
  striped
  sidebar
  statusBar
  enableCellTooltips
  enableFind
/>

Server-side data

<Gridex
  columns={columns}
  dataSource={{
    fetchData: async ({ sorting, filters, pageIndex, pageSize }) => {
      const res = await fetch(`/api/data?page=${pageIndex}&size=${pageSize}`);
      const { data, totalRows } = await res.json();
      return { data, totalRows };
    },
    pageSize: 25,
    showFilterRow: true,
  }}
/>

Zero-config (auto-generate columns)

<Gridex data={data} autoGenerateColumns />

Documentation

Visit gridex.irbano.com to learn why teams choose gridex and see the full feature overview.

For interactive documentation with live examples for every feature:

docs.gridex.irbano.com

The documentation includes:

  • Interactive demos for all 29 enterprise features
  • Code examples for every prop and configuration
  • API reference with TypeScript types
  • Getting started guide

API Reference

Props

| Prop | Type | Description | | ------------------------- | ------------------------------------------ | ---------------------------------------- | | data | TData[] | Data array to display | | columns | ColumnDef[] | Column definitions (use createColumns) | | autoGenerateColumns | boolean \| config | Auto-infer columns from data | | dataSource | GridexDataSource | Server-side data fetching | | sorting | GridexSortingConfig | Sorting configuration | | filtering | GridexFilteringConfig | Filtering configuration | | pagination | GridexPaginationConfig | Pagination configuration | | selection | GridexSelectionConfig | Row/cell selection | | columnConfig | GridexColumnConfig | Column resize/reorder/pin/visibility | | virtualization | GridexVirtualizationConfig | Virtual scrolling | | editing | GridexEditingConfig | Cell/row/batch editing | | expansion | GridexExpansionConfig | Row expansion/detail panels | | grouping | GridexGroupingConfig | Row grouping | | summary | GridexSummaryConfig | Summary/aggregation row | | tree | GridexTreeConfig | Tree/hierarchical data | | pivoting | GridexPivotConfig | Pivot table | | charts | GridexChartConfig | Integrated charts | | theme | "light" \| "dark" \| "auto" | Color theme | | density | "comfortable" \| "compact" \| "spacious" | Row density | | sidebar | boolean \| GridexSidebarConfig | Tool panels | | statusBar | boolean \| GridexStatusBarConfig | Status bar | | enableCellTooltips | boolean | Overflow tooltips | | enableFind | boolean | Ctrl+F find bar | | enableRowAnimation | boolean | Row transitions | | enableTouchOptimization | boolean | Mobile support | | slots | GridexSlots | Component overrides | | locale | GridexTranslations | i18n (13 built-in locales) |

Context API

Access grid APIs from inside slot components:

import { useGridex } from "gridex";

function Toolbar() {
  const { exportAPI, filterAPI } = useGridex();
  return (
    <div>
      <button onClick={() => exportAPI?.downloadCSV()}>CSV</button>
      <button onClick={() => exportAPI?.downloadPDF({ title: "Report" })}>
        PDF
      </button>
      <button onClick={() => filterAPI?.clearFilters()}>Clear Filters</button>
    </div>
  );
}

Mantine Integration

Use Gridex with Mantine v8 components for seamless visual integration:

npm install gridex-mantine
import { MantineProvider } from "@mantine/core";
import { MantineGridex } from "gridex-mantine";
import { createColumns } from "gridex";

<MantineProvider>
  <MantineGridex data={data} columns={columns} />
</MantineProvider>;

All slots (pagination, filters, toolbar, etc.) and cell editors automatically use Mantine components. Dark mode is detected from <MantineProvider>.

See the gridex-mantine documentation for details.

AI-Assisted Development

Using an AI coding agent? Install the Gridex skill so your agent knows the full API:

npx skills add irbano-tech/gridex-skills

Works with Claude Code, Cursor, Windsurf, Cline, and any agent that supports skills. Your agent gets complete knowledge of all props, column types, editing modes, server-side patterns, export, theming, and more.

License

MIT -- free for commercial and personal use.