Content
Table
A simple table drawn from a list of columns and a list of rows, with a hover state on each row.
Group: Content. Exports: Table. shadcn/ui equivalent: Table (partial parity).
Usage
import { Table } from "./halaska-kit";
Table props
columnsarray:rowsarray:
Accessibility
- Renders native table, thead, th and td elements, so screen readers announce rows and columns.
- Header cells set scope to col.
- There is no caption, so name the table with a heading above it.
Known gaps
- Data driven only: no composable TableRow and TableCell parts.
- No caption or footer.
- No per-column alignment or width.
Halaska UI · Components · Patterns · Screens · Install