Components

Implementation guide

EDS components are composable, which is to say each one has a single outer <table> element and doesn't depend on external styles.

They can be used individually in an existing template or combined together to create new ones.

By switching to the "Code" tab of each components' sandbox, you can see just the HTML and CSS necessary for that component.

The "Head styles" need to be added in your template's <head> tag and provide the responsive and dark-mode styles. The "Component HTML" needs placing wherever you want to display the component.

NOTE: at this time all components are specifically targetting Salesforce Marketing Cloud (fka Pardot). This won't affect usage elsewhere, but will add some unnecessary markup.

EDS / Header

Controls

Theme
Has links bar

Hero

EDS / Text Hero

Controls

Image position
Title
Subtitle
Voucher code?
CTA button?

EDS / Image Hero

Controls

Image size
Voucher code?
CTA button?

Content Block

EDS / Content Block

Controls

Heading?
Heading size
Heading level
Body?
Voucher code?
CTA button?

Column Cards

EDS / Column Cards

Controls

Heading?
Number of cards
Cards
Voucher code?
CTA button?

Row Cards

EDS / Row Cards

Controls

Heading?
Number of cards
Cards
Voucher code?
CTA button?

Partner Cards

EDS / Partner Cards

Controls

Heading?
Number of cards
CTA button?

Content List

EDS / Content List

Controls

Heading?
List type
Number of items

Description List

EDS / Description List

Controls

Heading?
Number of items
Items
Emphasis

EDS / Banner

Controls

Image size

EDS / Footer

Controls

Legal content?
Has links