Accordion

A vertically stacked set of interactive headings that each reveal an associated section of content.


Example

Usage

{% accordion %}
{% accordion-item value="item a" %}
item
{% /accordion-item %}
{% accordion-item value="item b" %}
item
{% /accordion-item %}
{% /accordion %}

Default value

The defaultValue of the item to expand when initially rendered.

{% accordion defaultValue="item a" %}
{% /accordion %}