Button Group
The Button Group component offers a flexible way to present a set of action buttons in a single row or column layout. With options for layout orientation, spacing, and complete styling control, it’s ideal for organizing grouped actions in a visually consistent manner.
Properties
The following properties are available to configure the behavior of the component from the form editor (this is in addition to common properties).
Common
Component Name string
A unique identifier for the button group. (Required)
Edit Mode object
Set the component’s interaction behavior:
-
Inherited (default): Behavior is inherited from the parent form.
-
Editable: Users can set and change their button.
-
Read Only: Users can view the button group but cannot change it.
Hide boolean
Controls whether the button group is shown or hidden.
Configure Button Group object
Configure button groups and items using a visual builder. Optionally supports expression logic for visibility or customization.
Is Button Inline boolean
Displays buttons as inline-flex elements to keep them aligned in a single line.
Appearance
Gap object
Spacing between buttons:
- Small
- Medium
- Large
Dimensions object
Specify the size of your component:
- Width, Height
- Min/Max Width and Height
- Overflow behavior
Border object
Personalize the borders:
- Set border width, color, and style
- Round the corners for a softer touch
Background object
Pick your flavor of background:
- Color
- Gradient
- Image URL
- Uploaded Image
- Stored File
Also tweak background size, position, and repeat behavior.
Shadow object
Give depth with adjustable shadows:
- Offset, Blur, Spread, Color
Margin & Padding object
Fine-tune spacing inside and around the component.
Custom Styles function
Inject your own CSS styles via JavaScript (must return a style object).