Components

< Context

Components

Introduction

Components are the individual parts of each email

Some components act as wrapping elements so other components can be nested inside of them, these are;

  • columns
  • column
  • hook
  • rebelhook
  • section
  • section-full-width
  • showHide

They will be indicated by the inclusion of a components option in the context.

Components

REBEL components are broken down into 4 sections type, body, style and components.

Type

Defines the component type, these are;

Included in REBEL Lite API

Included in REBEL Actionable API

Body

Defines the content of the component. These are specific to each component, defining things like text, images and other elements.

Style

Defines the styles on the component. These closely follow CSS styles with a few exceptions. Each part of each component will have a limited selection of styles that can be applied. A full list of styles is provided here

Components

Only included on wrapping components mentioned above.
This defines the array of nested components.