Hextech UI

Vertical Table

Live example

Vertical Table

Power65

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/vertical-table.json

API reference

These are the main Vertical Table options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
labelstring (required)—
recordsreadonly T[]required
fieldsVerticalTableField<T>[]required
recordKey(record: T) => Keyrequired

Records and fields

Give the table a label. Use a stable recordKey and readable field labels. Keep each cell understandable without depending only on its color or position.