Components
Table
Static presentational table primitive, ported from Atlas and repainted to the dry token stack.
The static table primitive, ported from Atlas. Semantic <table> markup with the shadcn
part set (header, body, footer, row, head, cell, caption), repainted onto the dry roles.
TableHead takes a sortDirection prop and renders a Phosphor sort glyph. This is the
read-only presentational table. For an editable, schema-driven database view, see the
data grid.
Project | Owner | Effort |
|---|---|---|
| Gesso UI kit | Joe | 8 |
| Washi database GUI | Joe | 13 |
| Subscription audit | WASH-E | 2 |
Usage
import {
Table,
TableHeader,
TableBody,
TableHead,
TableRow,
TableCell,
} from '@/components/ui/table';
<Table>
<TableHeader>
<TableRow>
<TableHead sortDirection="asc">Name</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow>
<TableCell>Row value</TableCell>
</TableRow>
</TableBody>
</Table>Install
shadcn add @gesso/table