Components / Data table

Data Table

A sortable data table with custom cell slot overrides, hover states, and an empty state slot.

Team Members
NameEmailRoleStatus
Alice Chenalice@company.coEngineerActive
Ben Okaforben@company.coDesignerActive
Clara Ruizclara@company.coProductPending
David Kimdavid@company.coEngineerInactive
Eva Schmidteva@company.coMarketingActive

MayaDataTable API

Prop / EventTypeDefaultDescription
columnsArrayRequired. Array of columns: { key, label, sortable }.
rowsArrayRequired. Array of data objects.
onRowClickFunctionnullCallback function triggered when a row is clicked.
#toolbarSlotOptional slot for a toolbar above the table.
#cell-{key}SlotDynamic slot to override the rendering of a specific cell.
#emptySlotDisplayed when there are no rows.