Skip to main content

Examples

Accordion item with a big_value in the title

{% accordion %}
    {% accordion_item %}
        {% accordion_title padding_top=8 padding_bottom=8 %}
            {% big_value data="orders" value="sum(sales)" fmt="usd" /%}
        {% /accordion_title %}
        Body content for this section.
    {% /accordion_item %}
{% /accordion %}

Attributes

padding_top
number
default:"16"
Top padding of the accordion trigger, in pixels. Lower this when the slotted content already provides its own top padding.
padding_bottom
number
default:"16"
Bottom padding of the accordion trigger, in pixels. Lower this when the slotted content already provides its own bottom padding.

Allowed Parents