Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Records Table

ProNew

CRM-style interactive records table with animated column sorting, relationship health dots, tag chips, and bulk actions.

Installation

pnpm dlx shadcn@latest add @viewport/records-table

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
records*RecordRow[]

CRM or entity records to display.

—
bulkActionLabelstring

Optional bulk action label shown when rows are selected.

"Email selected"
onBulkAction(ids: string[]) => void

Called when the bulk action button is clicked.

—
classNamestring—

Accessibility

  • Uses a semantic data table with sortable column header buttons and labelled row checkboxes.
  • Select-all checkbox reports an indeterminate mixed state.
  • Selection bar announces bulk actions through a status region.