DataTable.
Sortable, searchable, paginated rows.
| Pura | Active | 4 |
| Okumo | Active | 8 |
| Yapuro | Preview | 2 |
| Relay | Draft | 1 |
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
rows | T[] | Yes | — | — | Source data rows for pagination, filtering and sorting. |
columns | DataColumn<T>[] | Yes | — | — | Column keys, headings, alignment, sortability and render functions. |
pageSize | number | No | 6 | — | Visible rows per page. |
searchPlaceholder | string | No | Search rows | — | Filter input placeholder. |
emptyText | string | No | No results found | — | Displayed for empty search results. |
getRowId | (row: T, index: number) => string | number | No | — | — | Stable row identifier callback. |