
Params
Text for the panel label in the Makeswift Visual Builder.
The description shown in the Panel of the Makeswift builder. This can be written in Markdown format.
Added in
v0.24.8
.The preferred layout for the group in the Makeswift Visual Builder. Note that the builder may override this preference to optimize the user experience. Possible values include:
Group.Layout.Inline
: Renders the group properties within the parent panel, visually grouping them to reflect the hierarchy. This is the default if no explicit value is provided.Group.Layout.Popover
: Renders the group properties in a standalone popover panel.
An object mapping of prop names to Makeswift
controls representing the properties being
grouped. This can include any of the Makeswift controls, including other
groups.
Prop type
TheGroup
control passes an object
based on the controls defined in the props
field. The keys of the object match the keys in the props
field, and the values are based on the corresponding control’s prop type.
Example
This example adds aGroup
control to represent the properties of a banner within a Header component.

.makeswift.ts
is a naming convention for organizing Makeswift registration
code. Learn
more.