stylexcn

Table

Data table with header, rows, footer, and caption.

Preview

A list of your recent invoices.
InvoiceStatusMethodAmount
INV001PaidCredit Card$250.00
INV002PendingPayPal$150.00
INV003UnpaidBank Transfer$350.00
Total$750.00

Installation

pnpm dlx shadcn@latest add https://stylexcn.vercel.app/r/table.json
pnpm dlx shadcn@latest add @stylexcn/table

Usage

<Table>
  <TableHeader>
    <TableRow>
      <TableHead>Invoice</TableHead>
    </TableRow>
  </TableHeader>
  <TableBody>…</TableBody>
</Table>