Shelf is open source and in early preview
Shelf
Get started

Data Table

A table with sortable columns, row selection, and pagination, built on Table in plain React state.

Actions
INV-1042Paid
Acme Inc.billing@acme.com
$1,200.00
INV-1043Overdue
Globexap@globex.com
$860.00
INV-1044Pending
Initechfinance@initech.com
$2,450.00
INV-1045Paid
Umbrellapay@umbrella.co
$640.50
INV-1046Draft
Hooliinvoices@hooli.xyz
$3,100.00
0 of 10 selectedPage 1 of 2

When to use

Use when
Rows people need to sort, select, and page through, such as invoices or users.
Avoid when
The data is short and read-only; use Table.

Installation

The source lands in src/components/ui/data-table.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.

Usage

Built on

Packages
@stylexjs/stylex
Shelf items
Button, Checkbox, Dropdown Menu, foundations, Icons, Table, utils
Figma
In progress. See Designers and Figma.