Skip to content

PaymentQueueTable

stable

High-density payment queue table with bulk-select checkboxes, priority accents, approve/reject/view actions, and pagination — composes PaymentStatusBadge and ClearingNetworkIndicator per row

FinanceInteractive/Storybook ↗
import { PaymentQueueTable } from "@danagraph/design-system/finance"
Loading demo…

Props

paymentsrequired
Type PaymentQueueEntry[]Default —

Queue entries — id, reference, beneficiary, amount, status, plus optional network, counterpartyId, valueDate, submittedAt, priority

currency
Type stringDefault —

Default ISO 4217 currency for entries without one

locale
Type stringDefault —

BCP 47 locale override

label
Type stringDefault Payment Queue

Accessible region/table label

density
Type 'compact' | 'default' | 'spacious'Default default

Row height / padding density

showHeaders
Type booleanDefault true

Show column headers

selectable
Type booleanDefault false

Enable bulk-select checkboxes

onSelectionChange
Type (selectedIds: string[]) => voidDefault —

Called when the selection set changes

showActions
Type booleanDefault false

Show approve/reject/view action buttons column

onAction
Type (action: 'approve' | 'reject' | 'view', paymentId: string) => voidDefault —

Called when an action button is clicked

totalCount
Type numberDefault —

Total items in the full dataset — enables the pagination footer

page
Type numberDefault 1

Current page (1-based)

pageSize
Type numberDefault 20

Items per page

onPageChange
Type (page: number) => voidDefault —

Pagination callback — required for the footer to render

style
Type CSSPropertiesDefault —

Style override

Accessibility

  • Wrapped in role="region" with an aria-label; the table itself carries the same label.
  • Select-all and per-row checkboxes have explicit aria-labels; selected rows set aria-selected.
  • Approve/reject/view buttons are icon-only glyphs with per-payment aria-labels — ensure 44px touch targets on mobile.
  • Blocked payments (on_hold/failed/recalled) get an agency-subtle row tint in addition to the status badge — never color-only.
compactdefaultspacioussemantictypebordersurfaceoutcomefin
MobileStacks / Scroll

Table activates horizontal scroll on mobile. Action buttons are compact glyphs — enforce 44px touch targets when showActions is enabled.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?