All parts
Header, body, footer and caption. Hover a row; INV-002 has data-state=selected.
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV-001 | Paid | Credit card | $250.00 |
| INV-002 | Pending | PayPal | $1,150.00 |
| INV-003 | Unpaid | Bank transfer | $35.50 |
| INV-004 | Paid | Credit card | $12,450.00 |
| Total | $13,885.50 | ||
TableCaption · TableFooterSelection
Checkbox column with selected rows. Checkboxes are static here.
| Name | Role | Actions | ||
|---|---|---|---|---|
| Ada Lovelace | ada@example.com | Owner | ||
| Grace Hopper | grace@example.com | Admin | ||
| Linus Torvalds | linus@example.com | Member |
data-state="selected"Numeric
Right-aligned numeric columns with tabular-nums.
| Region | Requests | p95 (ms) | Errors |
|---|---|---|---|
| us-east-1 | 1,204,881 | 112 | 0.02% |
| eu-west-1 | 88,410 | 97 | 0.10% |
| ap-south-1 | 7,002 | 1,480 | 4.31% |
text-right · tabular-numsOverflow
A wide table in a max-w-lg container scrolls horizontally inside the table container.
| Service | us-east-1 | us-west-2 | eu-west-1 | eu-central-1 | ap-southeast-1 | ap-northeast-1 | sa-east-1 |
|---|---|---|---|---|---|---|---|
| api | 111 | 148 | 185 | 222 | 259 | 296 | 333 |
| web | 222 | 296 | 370 | 444 | 518 | 592 | 666 |
| worker | 333 | 444 | 555 | 666 | 777 | 888 | 999 |
wide · overflow-x-auto| Event | Time |
|---|---|
| Deployment of commit 4f9a2c1 to production failed health checks and was rolled back automatically | 09:41 |
long cell text · whitespace-nowrapEmpty
| Invoice | Status | Amount |
|---|---|---|
| No invoices yet. | ||
no rows| Invoice | Status | Amount |
|---|
header onlyRender
Every part takes render. Here the first cell of each row is a row header.
| Invoice | Status | Amount |
|---|---|---|
| INV-001 | Paid | $250.00 |
| INV-002 | Pending | $1,150.00 |
| INV-003 | Unpaid | $35.50 |
TableCell render={<th scope="row" />}