Display structured data in a semantic table with adaptive columns, local horizontal scrolling, and loading states.
How to use
Use Table to display structured data with TableHeader, TableBody, TableRow, TableHead, and TableCell. When searching, sorting, selection, action columns, or pagination are needed, let DataTable coordinate them rather than duplicating data management around Table.
Preserve valid table hierarchy with TableHeader, TableBody, TableRow, and related components.
columnWidths stores widths and columnId aligns a column across rows. Leave querying, selection, and pagination to DataTable.
All variants reuse the TableBody empty state when there is no data or no search result. Empty tables retain a Black 20 header divider and hide pagination. Body dividers remain Black 10.