Skip Folio navigation
React
Content
Content / Live reference
Data tables
| Status | |||
|---|---|---|---|
| Afternoon light | Draft | 8 | |
| Everyday objects | Published | 4 | |
| Letter & form | In review | 12 | |
| Material studies | Published | 6 |
Usage
Keep column labels concise and numbers aligned. Sorting and selection are controlled by the application. A table can scroll horizontally while the surrounding page reflows.
Exports / DataTable
Patterns import { DataTable } from "./folio";
<DataTable label="Collections" rows={[{ id: "01", name: "Material studies", works: 12 }]}
columns={[
{ key: "name", label: "Collection", render: (row) => row.name },
{ key: "works", label: "Works", align: "end", render: (row) => row.works },
]} />