Skip to content

Action Group

Last updated 11 Nov 2026

NbActionGroup is a row of page actions that knows how to fit a phone. On a desktop it renders exactly the buttons you would have placed by hand. On a phone it keeps the one action that matters on screen as an icon and folds the rest into a "more" menu, so a topbar with five labelled buttons stays usable at 360px instead of being clipped.

Props ​

PropTypeDefaultDescription
itemsIActionGroupItem[]requiredThe actions, in reading order
sizeTButtonSize'sm', or the toolbar'sSize of every action and of the overflow trigger
overflow'never' | 'phone' | 'always' | 'auto''never'When the actions fold into the overflow menu
overflowLabelstring'More actions'Name and tooltip of the overflow trigger
phoneVisiblenumber1How many actions stay on screen while folded

IActionGroupItem ​

FieldTypeDescription
idstringStable key, and the payload of select
labelstringButton text, or the icon-only button's accessible name
iconTIconSourceNeeded for the action to fold to icon-only
variantTButtonVariantPassed to NbButton. Defaults to danger when danger set
outlinedbooleanPassed to NbButton
iconOnlybooleanAn icon button at every width, named and tooltipped by label
disabledbooleanPassed to NbButton and the menu row
disabledReasonstringWhy it is disabled: NbButton's disabledReason
pressedbooleanA toggle's state: the button's pressed state, a checked row
loadingbooleanPassed to NbButton. A loading row is disabled in the menu
priority'primary' | 'secondary'primary actions are the ones a phone keeps on screen
dangerbooleanDestructive: a danger button and a danger menu row
onSelect() => voidRuns when the action is chosen

Slots ​

SlotDescription
menuExtra NbMenuItems appended to the overflow menu while folded

Events ​

EventPayloadFired when
selectid: stringAn action was chosen, after its onSelect runs