Skip to content
Tables

RecordsTable

A sortable, optionally selectable data table with a mobile card view fallback, column header sort indicators, and a selected-count badge.

Preview:
1280px
4 records
NameAda Lovelace
RoleEngineer
StatusActive
Joined2023-01-15
NameAlan Turing
RoleResearcher
StatusActive
Joined2023-03-20
NameGrace Hopper
RoleEngineer
StatusInactive
Joined2022-11-01
NameJohn von Neumann
RoleArchitect
StatusActive
Joined2024-06-30

Props

PropTypeDefaultDescription
columnsTableColumn[]-Column definitions including key, label, and sortable flag.
dataRecord<string, unknown>[]-Row data; each row must have an id field.
selectablebooleanfalseEnable row checkboxes and select-all header.
onSort(key, direction) => void-Fired when a sortable column header is clicked.
onSelect(ids: string[]) => void-Fired with selected row IDs when selection changes.