Skip to content

Table

stable

Data table with sortable columns and row selection

Data DisplayInteractive/Storybook ↗
import { Table } from "@nodus/design-system"
Loading demo…

Props

columnsrequired
Type TableColumn<T>[]Default

Column definitions with key, header, render, align, width, sortable

datarequired
Type T[]Default

Row data array

striped
Type booleanDefault false

Alternate row shading

bordered
Type booleanDefault false

Add cell borders

compact
Type booleanDefault false

Reduce row padding

Metadatasemantictypebordersurface
MobileStacks / Scroll

Wide tables activate horizontal scroll at <640px. Wrap in overflow-x-auto. Consider a card-based mobile layout for ≤3 columns using CSS @container or the responsive prop.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?