Skip to main content

Accordion

Overview

Accordion is an interactive MJML component to stack content in tabs


Parameters

ParameterParameterValid BlocksRequired
ChildrenChildren componentAccordion 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
Icon AlignmentThe vertical alignment of the icon.Text Block GroupNo
Icon PositionWhether to display the icon on the left or rightText Block GroupNo
Icon HeightThe height of the icon.Unit Value Block GroupNo
Icon WidthThe width of the iconUnit Value Block GroupNo
Unwrapped Icon Alt TextThe alt text to display on the icon when the accordion is unwrapped.Text Block GroupNo
Unwrapped Icon URIThe URI of the icon to display when the accordion is unwrapped.Text Block GroupNo
Wrapped Icon Alt TextThe alt text to display on the icon when the accordion is wrapped.Text Block GroupNo
Wrapped Icon URIThe URI of the icon to display when the accordion is wrapped.Text Block GroupNo
FontThe list of preferred fonts for this element.Text Block GroupNo
PaddingThe padding around the element.Text Block GroupNo
Padding BottomThe padding below the element.Unit Value Block GroupNo
Padding LeftThe padding to the left of the element.Unit Value Block GroupNo
Padding RightThe padding to the right of the element.Unit Value Block GroupNo
Padding TopThe padding above the element.Unit Value Block GroupNo
BorderThe border around the element.Text Block GroupNo
ContainerBackground ColourThe colour of the background of the container.Colour Block GroupNo