Group of components
Components can be grouped within containers. This feature enables making groups generic by having the inner components of it connect to the group fields, therefore building your own meta components.
Inside those "container groups", you can refer to "group.x" to refer to one of those group field which make this independent of the id of the container itself.
- From the editor, pick a container component and enable "Container is a component group".
- Create at least one group field.
- Fill the group field's object, either manually or dynamically through an eval.
- Now the container's components can be connected to the group fields items through
group.group_field_name.optional_subitems
Component groups can be saved to workspace. They will be available from all workspace apps as a component under the "Groups" category. They are saved as resources, under the app_groups
folder.
Groups of components can be combined with styling to provide very custom components: