The library All exhibits →

Built because: “reusable email templates and content components”

Ten files from my component library. Each row is one file or one pair, with the data-slot names it exposes, exactly as they ship.

Component fileWhat it doesSlots (data-slot)
preheader.htmlHidden preview text with an MSO wrapper, then a “View in browser” link.preheader_text view_online_url
logo-header.htmlCentred logo in a 600px MSO ghost table. Set in text for this concept.logo_url
hero-block.htmlHeadline, subtext and a button on a coloured block, VML rect behind it for Outlook.headline subtext cta_text cta_url
heading.htmlOne section heading in its own row.heading_text
text-block.htmlHeading and body copy in one padded cell, MSO wrapper.heading body
cta-button.htmlBulletproof button: padded link, MSO fallback, one colour fill.cta_text cta_url
column-layout-2.html + image-block.htmlHybrid two-column row (MSO ghost table plus inline-block divs) that stacks on mobile. An image with a caption sits in each column.col_1 col_2 image_url caption
divider.htmlA one-pixel rule in a 600px MSO wrapper.divider_style
list.htmlThree bullet rows built from table cells, so bullets hold their position in Outlook.item_1 item_2 item_3
footer-social.html + footer-unsub.htmlA heading and a row of social links on a white 600px table, then the unsubscribe line.social_heading social_links unsub_text