The Group component allows you to group two or more components together. When grouped, the line between components is indented on the left side. The Group component has an optional label.
In the image below, the first three link components are in a group without a label. The second set of link components are in a group with a label.
Groups can have a label and just one component. For example, if a group had three components and then in an update has just one, the group component is still valid and the label will still display.
The Group component (
group) uses the following properties:
||String||Text displayed as a title for the group||no|
||Array||The components included in the group||yes|
This graphic shows how the properties are used to display the components in a group:
Here’s an example of the JSON to display a group as shown in the above image.