Table
Displays data in rows and columns with semantic HTML and support for headers, bodies, and footers.
Installation
Usage
API reference
The UI SDK flavour is plain markup and styles, the same file as the Base UI flavour. Its API is the SevenUI wrapper's, the same in both flavours: export names, props, data-slot values and the render prop, so code that uses only the SevenUI exports compiles against either flavour. Nothing a reader would notice behaves differently. Switch to Base UI to read the prop tables, which describe that shared API in Base UI's terms.
Table
Extends the native <table> element, wrapped in an overflow container
(data-slot="table-container") so wide tables scroll horizontally
instead of breaking the page.
TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, TableCaption
Extend their semantic HTML counterparts (thead, tbody, tfoot,
tr, th, td, caption) — no props beyond them. Rows highlight on
hover and style themselves via data-state="selected" or an expanded
child; cells with a leading checkbox drop their right padding
automatically.