Skip to main content

Group

Overview

Group allows you to prevent columns from stacking on mobile. To do so, wrap the columns inside a mj-group tag, so they'll stay side by side on mobile.


Parameters

ParameterParameterValid BlocksRequired
ChildrenChildren componentGroup Component Block GroupNo
Style SetsOptional list of Email Style blocks to apply to this blockText Block GroupNo
Custom CSS ClassesOptional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks.Text Block GroupNo
WidthThe width of the element.Unit Value Block GroupNo
Background ColourThe colour of the background of this block.Colour Block GroupNo
Vertical AlignmentVertical position of the element within its container.Text Block GroupNo
DirectionWhether the text direction is left-to-right or right-to-left.Text Block GroupNo