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

@adapttable/base-ui

v2.1.1

Published

Base UI adapter for AdaptTable — a batteries-included Base UI data table with sorting, filtering, URL state, selection, RTL, and dark mode.

Readme

@adapttable/base-ui

@adapttable/base-ui — a Base UI data table built on AdaptTable

📖 Documentation · 🚀 Live demo · Get started · ⚡ Try in StackBlitz

The Base UI adapter for AdaptTable — a batteries-included Base UI data table with sorting, filtering, URL-synced state, selection + bulk actions, RTL, and dark mode. Built on the headless @adapttable/core engine. (Targets @base-ui/react ^1.6.)

pnpm add @adapttable/base-ui @adapttable/core @base-ui/react react react-dom

Import the adapter styles once in your app entry (or rely on the side-effect import from @adapttable/base-ui):

import "@adapttable/base-ui/styles.css";

Quickstart

import {
  DataTable,
  useFrontendData,
  type ColumnDef,
} from "@adapttable/base-ui";

interface Person {
  id: string;
  name: string;
  email: string;
}

const columns: ColumnDef<Person>[] = [
  { key: "name", header: "Name", accessor: (r) => r.name, sortable: true },
  { key: "email", header: "Email", accessor: (r) => r.email },
];

export function PeopleTable({ data }: { data: Person[] }) {
  const source = useFrontendData({ data, columns });
  return <DataTable source={source} columns={columns} rowKey={(r) => r.id} />;
}

Behavior lives in @adapttable/core; this package only renders Base UI primitives (Popover, Drawer, Select, Checkbox, Tooltip, Button, Input) plus minimal chrome CSS.

Features

  • Automatic mobile cards — below the mobile breakpoint every row renders as a card (same filters, search, selection and URL state) and infinite scroll replaces the pager; tune per column with mobileLabel / hideOnMobile, pin either layout with forceMobile. See it flip live.
  • Client or server data through one TableSource contract — same props either way.
  • URL-synced search / sort / filters / page — shareable, deep-linkable links.
  • Sorting via sortable headers.
  • Filtering — a Popover or Dialog of filters plus removable chips, with a filter count on the trigger.
  • Selection + bulk actions using Base UI Checkboxes, with confirm dialogs (bulkActions).
  • Row actions with optional confirm, isHidden / isDisabled per row.
  • Row expansion — inline detail panels via renderRowDetail.
  • Inline cell editing (onCellEdit + editable columns) — text, number and select editors; Enter commits, Escape cancels, Tab moves on. Omit the handler and no cell opens.
  • Row grouping (groupBy) with per-group aggregates sharing the summaryRow mapper.
  • Column management — show/hide, reorder, pin (sticky) and resize, from a built-in menu.
  • Saved views — name a filter/sort/column arrangement and switch between them.
  • CSV export (exportCsv) — current page or the full filtered set.
  • Virtualization (virtualize) — opt-in row/card windowing for very large lists.
  • Pagination — numbered pagination, or infinite scroll (auto by device).
  • States — skeleton loading, error with retry, and an empty state.
  • RTL via dir; dark mode follows your theme tokens.
  • Customisationslots, className, injectable confirm — Base UI ships unstyled, so every part is yours, and the full headless escape hatch via @adapttable/core.

See it work

Each clip is the real adapter, recorded on the live demo.

Row grouping — group rows by a column with per-group subtotals

base-ui Row grouping

Inline cell editing — double-click a cell; text, number and select editors

base-ui Inline cell editing

Filtering — type a bound and the table answers as you type

base-ui Filtering

Column management — show, hide, reorder, pin and resize

base-ui Column management

RTL / Arabic — the whole table mirrors, not just the text

base-ui RTL / Arabic

Links

License

MIT © Orwa Mahmoud