easeUI

Table

A plain, composable data table: sortable headers with an arrow that only shows on hover until active, and rows that tint when selected.

RoleStatusScore
Aiko SatoEngineeringAwayCalculating…
Callum ReedProductActiveCalculating…
Priya NairDesignActiveCalculating…
Theo MarshEngineeringActiveCalculating…

Installation

$ bunx --bun shadcn add @easeui/table

API reference

ComponentPropTypeDefaultDescription
TableRowselected?booleanfalseHighlights the row as selected. Default false.
TableHeadsorted?false | "asc" | "desc"falseShows a sort arrow and makes the header clickable. Omit for a plain, unsortable column.
TableHeadonSort?(() => void)--
TableHeadonResize?((width: number) => void)-Shows a drag handle on the trailing edge; reports the column's new width in pixels as the pointer moves. Width itself stays the caller's state, same as sort.
TableCellemphasis?booleanfalseBolds the cell in the foreground color, for a row's primary column, such as a name. Default false.
TableCellloading?booleanfalseShows a muted "Calculating…" placeholder in place of children, for a value still being computed. Default false.

Updated