Overview
The list element allows you to create ordered (numbered) or unordered (bulleted) lists in your notifications. Lists support nesting up to 5 levels deep, enabling complex hierarchical structures. Both parent and nested lists can independently use loops for dynamic content generation. When to use:- Display ordered sequences (steps, rankings)
- Show unordered items (features, benefits, options)
- Create nested hierarchical structures
- Display dynamic lists from data (products, items, etc.)
Basic Example
Fields
The type of element. For list elements, this value must be
"list".The type of list. Can be
"ordered" (numbered) or "unordered" (bulleted).An array of list item elements. Each element must be of type
"list-item". See the List Item Fields section below.Allows bullets to be rendered using a custom image (for unordered lists only). The image URL will be used as the bullet point.
URL for the bullet image, if used. Makes the bullet image clickable.
An expression that allows the list to be dynamically generated from data. See Control Flow documentation for details.
A condition that determines whether the list should be rendered. See Control Flow documentation for details.
An array of channel names. The list will only be rendered for the specified channels. See Control Flow documentation for details.
List Item Fields
Each item in theelements array must be a list item element with the following properties:
The type of element. For list items, this value must be
"list-item".Content of the list item. Can include:
stringelements for textlinkelements for clickable linksimgelements for inline images- Nested
listelements for sub-lists
Background color for the list item. Can be any valid CSS color value.
An expression that allows the list item to be repeated. See Control Flow documentation for details.
A condition that determines whether the list item should be rendered. See Control Flow documentation for details.
Examples & Variants
Unordered List
Simple bulleted list:Ordered List
Numbered list:Nested Lists
Lists can be nested up to 5 levels deep:List Items with Links
Include clickable links in list items:Dynamic Lists with Loops
Generate lists from data:Nested Dynamic Lists
Dynamic lists with nested loops:Custom Bullet Images
Use custom images for bullets:Styled List Items
List items with background colors:Best Practices
- Use appropriate list types: Use ordered lists for sequences (steps, rankings) and unordered lists for collections (features, options)
- Limit nesting depth: While 5 levels are supported, 2-3 levels are usually sufficient for readability
- Keep items concise: Long list items can be hard to scan
- Use loops for dynamic content: Generate lists from data rather than hardcoding items
- Consider mobile: Long lists may need special formatting for mobile devices
Lists can be nested up to 5 levels deep. Nested lists can have different list types (ordered/unordered) than their parent lists.
Channel Support
- Email: ✅ Full support with proper list rendering
- 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 text content within list items
- Group Element - For grouping list items with other elements
- Control Flow - For loops and conditional rendering
- Text Content Elements - For string, link, and img elements within list items