Component Blocks for Marketing Cloud Next

Component blocks, also called Lightning blocks, are reusable components that you can use to compose emails and web content in the Content Management System (CMS) for Marketing Cloud Next. When you create email content using Connect API, the contentBody of your request contains a tree of nested blocks.

Every component block has these basic properties.

PropertyDescription
typeThe type of object created in the request. For component blocks, the value is always block.
definitionThe block type. Possible values:
attributesAn object that contains properties specific to the block type. Most blocks support brand data provider references for consistent styling, such as {!$brand.colorScheme} and {!$brand.typography.heading.heading2}.
childrenAn array of nested child blocks, if the block type supports them.

A component block follows this basic structure.

You can create several types of component blocks:

Use blocks when you create content in your content workspace by using Connect API. You can create these marketing content types using blocks: