Web only
Table
the primitive under DataTable; use it directly for small static tables
<Table className="max-w-md"> <TableHeader> <TableRow> <TableHead>Plan</TableHead> <TableHead className="text-right">Seats</TableHead> </TableRow> </TableHeader> <TableBody> <TableRow> <TableCell>Team</TableCell> <TableCell className="text-right">12</TableCell> </TableRow> <TableRow> <TableCell>Business</TableCell> <TableCell className="text-right">40</TableCell> </TableRow> </TableBody></Table>Get it
Already in every copy of the web kit:
import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell, TableCaption } from '@/components/ui/table';Details
- Exports
Table,TableHeader,TableBody,TableRow,TableHead,TableCell,TableCaption- Packages
- cn@^0.5.2
- Registry JSON
- /r/web/table.json
Agents: the whole registry is at /llms.txt.