Skip to content

Accordion

Overview

Accordion is an interactive MJML component to stack content in tabs


Parameters

ParameterParameterValid BlocksRequired
Children Children component Accordion Component Block Group No
Style Sets Optional list of Email Style blocks to apply to this block Text Block Group No
Custom CSS Classes Optional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks. Text Block Group No
Icon Alignment The vertical alignment of the icon. Text Block Group No
Icon Position Whether to display the icon on the left or right Text Block Group No
Icon Height The height of the icon. Unit Value Block Group No
Icon Width The width of the icon Unit Value Block Group No
Unwrapped Icon Alt Text The alt text to display on the icon when the accordion is unwrapped. Text Block Group No
Unwrapped Icon URI The URI of the icon to display when the accordion is unwrapped. Text Block Group No
Wrapped Icon Alt Text The alt text to display on the icon when the accordion is wrapped. Text Block Group No
Wrapped Icon URI The URI of the icon to display when the accordion is wrapped. Text Block Group No
Font The list of preferred fonts for this element. Text Block Group No
Padding The padding around the element. Text Block Group No
Padding Bottom The padding below the element. Unit Value Block Group No
Padding Left The padding to the left of the element. Unit Value Block Group No
Padding Right The padding to the right of the element. Unit Value Block Group No
Padding Top The padding above the element. Unit Value Block Group No
Border The border around the element. Text Block Group No
ContainerBackground Colour The colour of the background of the container. Colour Block Group No