Table
Data Display
macOS Finder list view table with row striping and header columns.
Installation
$npx shadcn-macos@latest add table
Examples
| Process | % CPU | RAM |
|---|---|---|
| WindowServer | 3.2% | 420 MB |
| macOS System | 0.8% | 112 MB |
Props
<Table />| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Custom CSS classes. |
| children | React.ReactNode | — | TableHeader, TableBody, TableFooter. |
<TableHeader /> / <TableRow /> / <TableHead /> / <TableCell />| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Custom CSS classes. |
| children | React.ReactNode | — | Row or cell content. |