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

A list of your recent invoices.
InvoiceStatusMethodAmount
INV001PaidCredit Card$250.00
INV002PendingPayPal$150.00
INV003UnpaidBank Transfer$350.00
INV004PaidCredit Card$450.00
INV005PaidPayPal$550.00
INV006PendingBank Transfer$200.00
INV007UnpaidCredit Card$300.00
Total$2,250.00