Skip to content
SevenUI
Sign in
On this page

Table

Displays data in rows and columns with semantic HTML and support for headers, bodies, and footers.

A list of your recent invoices.
InvoiceStatusMethodAmount
INV-001PaidCredit Card$250.00
INV-002PendingBank Transfer$150.00
INV-003UnpaidPayPal$350.00
Total$750.00

Installation

Bash

Usage

API reference

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.

Was this page helpful?