Table
A responsive table component for displaying structured data.
Usage
tsx
import { Table } from "@/components/ui/table";
<Table caption="Recent orders">...</Table>Table Controls
caption
Examples
Basic Table
| Invoice | Status | Amount |
|---|---|---|
| INV-001 | Paid | $250.00 |
| INV-002 | Pending | $150.00 |
| INV-003 | Overdue | $350.00 |
With Caption
| Name | Role |
|---|---|
| Alice | Engineer |
| Bob | Designer |
Installation
Install
$ pnpm dlx shadcn@latest add @perimeter/table