Skip to content
Skip Folio navigation
Content

Content / Live reference

Data tables

Studio collections
Status
Afternoon lightDraft8
Everyday objectsPublished4
Letter & formIn review12
Material studiesPublished6
0 selected

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
React
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 },
  ]} />