Overview
The quote element renders a quote block, typically used to highlight important text, testimonials, or call attention to specific content. Quote blocks can be styled with borders, colors, and different text styles. When to use:- Display testimonials or customer reviews
- Highlight important quotes or statements
- Emphasize key information
- Create visually distinct text blocks
Basic Example
Fields
string
required
The type of element. For quote elements, this value must be
"quote".string
required
The text value of the quote. This field supports Handlebars variables for dynamic content.
string
Alignment of the quote. One of
"center", "left", "right", or "full". Defaults to "left".string
CSS border color property for the quote block. Can be any valid CSS color value (e.g.,
"#007bff", "rgb(0, 123, 255)").string
Text style for the quote. One of
"text", "h1", "h2", or "subtext". Defaults to "text".string
Font size for this quote block, as a CSS px value (e.g.,
"16px"). Email only. Overrides the size of the text_style preset, and takes precedence over the document-level font_size on the email channel element.string
Line height for this quote block, as a CSS px value or a unitless multiplier (e.g.,
"24px" or "1.5"). Email only. Takes precedence over the document-level line_height on the email channel element.object
Region-specific content for localization. See the Locales documentation for more details.
string[]
An array of channel names. The quote will only be rendered for the specified channels. See Control Flow documentation for details.
Examples & Variants
Basic Quote
Simple quote block:Styled Quote
Quote with border and styling:Quote with Custom Size and Line Height
Give a pull quote its own typography without touching the rest of the email:Quote with Handlebars
Dynamic quote content:Localized Quote
Quote with translations:Testimonial Quote
Quote styled as a testimonial:Channel-Specific Quote
Show quotes only for specific channels:Best Practices
- Keep quotes concise: Long quotes can be hard to read, especially in email
- Use appropriate styling: Border colors and text styles help quotes stand out
- Consider context: Quotes work well for testimonials, important notices, or highlighted information
- Test alignment: Different alignments can affect readability across channels
Channel Support
- Email: ✅ Full support with styling and borders
- Push: ✅ Supported (may render as plain text in some cases)
- SMS: ⚠️ Limited support (may render as plain text)
- Inbox: ✅ Full support
Related Elements
- Text Element - For regular text content
- Group Element - For grouping quotes with other elements
- Locales - For localizing quote content
- Control Flow - For conditional rendering