⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
coss Table
When to use
- Structured tabular datasets.
- Sortable/filterable row and column displays.
Install
npx shadcn@latest add @coss/table
Manual deps from docs:
# No extra runtime dependency required for basic table usage.
# For interactive data tables, add TanStack Table:
npm install @tanstack/react-table
Canonical imports
import {
Table,
TableBody,
TableCaption,
TableCell,
TableFooter,
TableHead,
TableHeader,
TableRow,
} from "@/components/ui/table"
Minimal pattern
<Table>
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow>
<TableCell>Ada Lovelace</TableCell>
</TableRow>
</TableBody>
</Table>
Patterns from coss particles
- Semantic baseline: start with
TableHeader/TableBody/TableRow/TableHead/TableCell, then addTableCaptionandTableFooteras needed. - Framed surfaces: wrap table in
Framefor bordered app-surface presentation (p-table-2and advanced variants). - Status-rich rows: combine
Badgeand decorative dots/icons for state columns while keeping text primary. - Interactive data grids: pair coss table parts with TanStack Table (
flexRender, row models, selection state) for sorting/pagination/selection. - No-results state: always render an explicit empty-state row with
colSpanmatching visible columns. - Fixed layout control: use
className="table-fixed"and column width styles when predictable column sizing is required.
Common pitfalls
- Assuming
Tableitself provides sorting/filter/pagination state; these come from your data layer (for example TanStack Table). - Mixing header/body cell semantics (
TableHeadin body rows orTableCellin headers). - Forgetting to align
colSpanwith actual visible columns in footer/empty rows. - Using table patterns where card/list layouts are more suitable on small screens without responsive handling.
- Omitting
aria-labelfor row-selection checkboxes in interactive tables.
Useful particle references
- basic semantic table with caption/footer:
p-table-1 - framed table layout:
p-table-2 - TanStack integration with row selection:
p-table-3 - TanStack sorting + pagination + footer controls:
p-table-4