Skip to content

Batch Actions

Last updated 11 Nov 2026

NbBatchActions is the bar that appears while things are selected: how many, what can be done to all of them, and Cancel. Over a table toolbar it covers the strip edge to edge, in a free layout it floats at the foot.

Props ​

PropTypeDefaultDescription
countnumberrequiredHow many things are selected
itemsIActionGroupItem[][]The actions. Folded into a menu on a phone
variant'overlay' | 'floating''overlay'Over a toolbar strip, or a floating pill
size'sm' | 'md' | 'lg' | 'xl'lg overlay, sm floatingThe bar's buttons' size
cancelLabelstring'Cancel'The cancel button's text
labelstring'Batch actions'The region's accessible name

cancelLabel and label default to the catalogue's batchActionsCancel and batchActionsLabel.

Slots ​

SlotPropsDescription
default{ phone: boolean }Actions of your own, after items

Events ​

EventPayloadFired when
cancelnoneCancel was pressed
selectid: stringAn item from items was chosen