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

@talentum-ventures/convex-datatable

v0.1.1

Published

`@talentum-ventures/convex-datatable` is a production-focused React data table with an Airtable-style feature set and a library-shaped API. You work with typed columns, a typed data source, feature flags, theme tokens, and optional Convex helpers without

Downloads

199

Readme

@talentum-ventures/convex-datatable

@talentum-ventures/convex-datatable is a production-focused React data table with an Airtable-style feature set and a library-shaped API. You work with typed columns, a typed data source, feature flags, theme tokens, and optional Convex helpers without importing TanStack state directly.

Install

npm install @talentum-ventures/convex-datatable

Peer dependencies:

  • react
  • react-dom
  • convex is optional unless you use the Convex adapters

Styling

Recommended:

import "@talentum-ventures/convex-datatable/styles.css";

If your app already runs Tailwind and you intentionally want Convex DataTable styles folded into your own generated stylesheet, add this scan path:

node_modules/@talentum-ventures/convex-datatable/dist/**/*.js

Scanning installed package files is toolchain-dependent, so the explicit CSS import remains the default recommendation.

Minimal Usage

import "@talentum-ventures/convex-datatable/styles.css";
import {
  DataTable,
  type DataTableColumn,
  type DataTableDataSource
} from "@talentum-ventures/convex-datatable";

type InvoiceRow = {
  id: string;
  customer: string;
  amount: number;
  status: string;
  issuedAt: string;
};

const rows: ReadonlyArray<InvoiceRow> = [
  {
    id: "inv_1",
    customer: "Acme Corp",
    amount: 1250,
    status: "draft",
    issuedAt: "2026-03-01"
  },
  {
    id: "inv_2",
    customer: "Globex",
    amount: 3180,
    status: "paid",
    issuedAt: "2026-03-02"
  }
];

const columns: ReadonlyArray<DataTableColumn<InvoiceRow>> = [
  {
    id: "customer",
    field: "customer",
    header: "Customer",
    kind: "text"
  },
  {
    id: "amount",
    field: "amount",
    header: "Amount",
    kind: "currency",
    currency: "USD"
  },
  {
    id: "status",
    field: "status",
    header: "Status",
    kind: "select",
    options: [
      { value: "draft", label: "Draft", colorClass: "bg-amber-100 text-amber-900" },
      { value: "paid", label: "Paid", colorClass: "bg-emerald-100 text-emerald-900" }
    ]
  },
  {
    id: "issuedAt",
    field: "issuedAt",
    header: "Issued",
    kind: "date"
  }
];

const dataSource: DataTableDataSource<InvoiceRow> = {
  useRows: () => ({
    rows,
    hasMore: false,
    isLoading: false,
    isLoadingMore: false,
    error: null,
    loadMore: () => undefined,
    refresh: () => undefined
  })
};

export function InvoicesTable(): JSX.Element {
  return (
    <DataTable
      tableId="invoices"
      columns={columns}
      getRowId={(row) => row.id}
      dataSource={dataSource}
    />
  );
}

What You Get

  • Typed column kinds for text, long text, number, currency, select, multiselect, link, date, and custom React node cells
  • Inline editing, row creation, row deletion, undo, clipboard copy and paste, and spreadsheet-style selection
  • Sorting, filtering, resizing, reordering, visibility, and pinning
  • Infinite scroll and virtualization
  • URL and localStorage persistence
  • Optional Convex data-source and presence adapters

Convex

Preferred client imports:

import { useConvexDataSource, useConvexPresence } from "@talentum-ventures/convex-datatable/convex";

Server helpers:

import {
  clearStalePresenceHandler,
  getPresenceHandler,
  heartbeatHandler
} from "@talentum-ventures/convex-datatable/convex-server";

Theming

Use the public theme exports to start from the defaults and override only what you need:

import {
  DEFAULT_THEME_TOKENS,
  DataTable,
  type DataTableThemeTokens
} from "@talentum-ventures/convex-datatable";

const theme: DataTableThemeTokens = {
  ...DEFAULT_THEME_TOKENS,
  headerBg: "linear-gradient(180deg, hsl(222 50% 98%), hsl(222 42% 94%))",
  rowHoverBg: "hsl(222 48% 97%)",
  activeCellRing: "hsl(221 83% 53%)"
};

export function ThemedTable(): JSX.Element {
  return <DataTable tableId="themed" columns={columns} getRowId={(row) => row.id} dataSource={dataSource} theme={theme} />;
}

You can also pass a partial theme prop if you only want to change a few tokens.

Package Exports

  • @talentum-ventures/convex-datatable
  • @talentum-ventures/convex-datatable/styles.css
  • @talentum-ventures/convex-datatable/convex
  • @talentum-ventures/convex-datatable/convex-server