Skip to main content

Bulk Actions

Signature

label

propertyReact.ReactNode

icon

propertyLucideIcon

confirmationText

propertyReact.ReactNode

onClick

property() => void

className

propertystring

requiresPermission

propertystring[]

disabled

propertyboolean

A component that should be used to implement any bulk actions for list pages & data tables.

Example

Tsx
Signature

Parameters

props

parameterReadonly<DataTableBulkActionItemProps>

A bulk action is a component that will be rendered in the bulk actions dropdown.

The component receives the following props:

  • selection: The selected row or rows
  • table: A reference to the Tanstack table instance powering the list

The table object has

Example

Tsx

For the common action of deletion, we provide a ready-made helper component:

Example

Tsx
Signature

order

propertynumber

Optional order number to control the position of this bulk action in the dropdown. A larger number will appear lower in the list.

component

propertyBulkActionComponent<any>

The React component that will be rendered as the bulk action item.

Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page