Common UI kit components
Confluence UI kit components
Jira UI kit components

Rate this page:

ButtonSet

A layout container for multiple buttons.

Screenshot of what the rendered button set should look like

Import statement

1
import ForgeUI, { ButtonSet } from '@forge/ui';

Props

NameTypeRequiredDescription
childrenArray<Button>YesThe buttons to display in the set. On large-width devices, the buttons are rendered in a row that wraps to fit. On mobile devices, the buttons are full-width.

Example

1
2
3
4
<ButtonSet>
  <Button text="Allow" onClick={handleAllow} />
  <Button text="Deny" onClick={handleDeny} />
</ButtonSet>

Rate this page: