Table Primitives
Live example
Table Primitives
Installation
npx shadcn@latest add https://hextech-ui.vercel.app/r/table.jsonAPI reference
These are the main Table Primitives options. See the exported TypeScript types for inherited native or primitive props.
| Prop | Type | Default |
|---|---|---|
scope | col | row (TableHead) | col |
className | string on each part | — |
Table semantics
Provide a caption or accessible name and use header cells with appropriate scope. Keep action controls individually labeled. Horizontal overflow should stay inside the table container on small screens.