Table
Rows of records in real table markup. By default rows stack into blocks on small screens; wide comparisons scroll instead.
Source
components/table.tsx| Invoice | Client | Status | Amount |
|---|---|---|---|
| INV-001 | Acme Inc. | Paid | $1,250.00 |
| INV-002 | Globex | Due soon | $480.00 |
| INV-003 | Initech | Overdue | $2,100.00 |
| Total | $3,830.00 | ||
| Feature | Free | Pro | Team | Enterprise |
|---|---|---|---|---|
| Projects | 3 | Unlimited | Unlimited | Unlimited |
| Collaborators | 1 | 5 | 25 | Unlimited |
| Version history | 7 days | 90 days | 1 year | Custom |
Usage
When to use
Use when
Records with the same fields. Give every TableCell a label (rows stack into blocks below md) and a TableCaption
Don’t use when
Layout; a few records with one or two fields (use Item); records the user sorts, filters, selects or pages (use Data Table)