@lunarhue/table

Headless tables for React and Solid, built on one framework-free core.

TypeScript

Built for an admin console with a dozen list views that all needed the same sort, filter, and paging behavior.

$ bun add @lunarhue/table

DocsGitHub

What you write

Column API

Columns are plain objects. You render the cells and rows yourself; the library gives you the state and the handlers.

const table = createTable({
  data: rows,
  columns: [
    { id: "name", header: "Name", sort: true },
    { id: "updated", header: "Updated", sort: "date" },
  ],
});
@lunarhue/table: a rack node taken apart