Examples › Empty state
minHeightIf records property points to an empty array, the DataTable component will indicate its empty state by displaying a customizable icon and text, like so:
No records
You can modify the displayed text by setting the noRecordsText property:
No records to show
The icon can also be modified by setting the noRecordsIcon property:
No records found
If you’re not happy with the standard empty state indicator, you can entirely replace it by setting the emptyState property:
No data found...
Interactive custom empty state content
The empty state component has the pointer-events CSS property set to none.
Which means that if you need to add interactive content to the custom empty state, you’ll have to enable pointer interactions using the pointer-events CSS prop:
No data found...
Head over to the next example to discover more features.














