Table

A composable, styled HTML table.

A composable, styled HTML table.

A list of your recent invoices.
InvoiceStatusMethodAmount
INV-001PaidCredit Card$250.00
INV-002PendingPayPal$150.00
INV-003UnpaidBank Transfer$350.00
tsx
import {  Table,  TableBody,  TableCaption,  TableCell,  TableHead,  TableHeader,  TableRow,} from "@celestia-project/ui/primitive/table"
<Table>  <TableCaption>A list of your recent invoices.</TableCaption>  <TableHeader>    <TableRow>      <TableHead>Invoice</TableHead>      <TableHead className="text-right">Amount</TableHead>    </TableRow>  </TableHeader>  <TableBody>    <TableRow>      <TableCell>INV-001</TableCell>      <TableCell className="text-right">$250.00</TableCell>    </TableRow>  </TableBody></Table>