MiN8T All Insights

How to Use the AMP Accordion Block

M
MiN8T Team
Email Engineering

1 What is the Accordion Block?

The AMP Accordion block creates expandable/collapsible sections within your email. Recipients click a section title to reveal or hide its content — a familiar UI pattern for FAQs, product details, shipping info, and terms.

Built on AMP's <amp-accordion> component, it works in Gmail, Yahoo Mail, Mail.ru, FairEmail, and AOL. Non-AMP clients see a static fallback with all sections expanded.

Use cases:

2 Adding Sections

Drag the AMP Accordion block from the AMP section of the block palette into a container. It starts with one section.

Section Structure

Each section has two parts:

Add sections with the "+" button. Each section gets a unique ID and can be independently expanded or collapsed.

Accordion Behavior

3 Section Content

Each accordion section's content area is a real container — the same container type used in the stripe hierarchy. This means you can add any block inside a section:

Treat each accordion section like a mini-template. You have full creative control over the content within each section, with all the same blocks and styling options available in the regular editor.

4 Styling the Accordion

Title Styles

Visibility

5 How It Exports

MiN8T generates dual output:

AMP Version

<amp-accordion animate expand-single-section>
  <section expanded>
    <h3 style="background: #f6f6f6; padding: 12px 16px;">
      What is your return policy?
    </h3>
    <div style="padding: 16px;">
      You can return items within 30 days...
    </div>
  </section>
  <section>
    <h3 style="background: #f6f6f6; padding: 12px 16px;">
      How long does shipping take?
    </h3>
    <div style="padding: 16px;">
      Standard shipping takes 3-5 business days...
    </div>
  </section>
</amp-accordion>

HTML Fallback

For non-AMP clients, all sections render fully expanded with visible titles and content. The amp-accordion-0.1.js script is automatically injected into the AMP document head.

i

The expand-single-section attribute is added when auto-collapsing is enabled. The animate attribute enables smooth transitions. Both are set automatically based on your configuration.

6 Next Steps

Last updated: April 2026. All details verified against MiN8T's actual codebase implementation.