Table
A responsive table component for displaying tabular data.
The Table component provides semantic HTML table elements with consistent styling. It includes support for headers, bodies, footers, and captions. Built from scratch using React and native HTML table elements. No dependencies on any UI library.
Quick Install
Install via shadcn/ui CLI
Examples
Default Table
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| INV004 | Paid | Credit Card | $450.00 |
| INV005 | Paid | PayPal | $550.00 |
| INV006 | Pending | Bank Transfer | $200.00 |
| INV007 | Unpaid | Credit Card | $300.00 |
| Total | $2,250.00 | ||