AMP for Email Supported Components

Important: this documentation is not applicable to your currently selected format stories!

The following is the list of AMP components that are currently supported in AMP email messages. The components are grouped into the following categories:

Dynamic Content

Element Description
<amp-form> Form element. The action-xhr attribute must be used in place of the regular action attribute. Can be used in conjunction with <template type="amp-mustache"> to render a response.

Note: Redirecting after submission is not allowed.
<amp-selector> A multi-select widget for use within a form.
amp-bind and <amp-bind-macro> Simple scripting language in AMP that allows the manipulation of a state machine for interactions between elements. Can also be used to add behavior on certain events.

Note: It is prohibited to bind to [href] or [src]. It is also prohibited to use the AMP.print, AMP.navigateTo and AMP.goBack actions.
<amp-state> <amp-state> is used to define the initial state used by amp-bind.

Note: The src attribute is not currently supported.
<amp-list> Remotely fetches JSON data that will be rendered by an <amp-mustache>.

Note: Binding to the [src] attribute is not allowed. Including user credentials with credentials="include" is also prohibited.
<template type="amp-mustache"> A Mustache template markup to render the results of an amp-list call.


Element Description
layout attributes Layout behavior is determined by the layout attribute.
<amp-accordion> A UI element that facilitates showing/hiding different sections.
<amp-carousel> A carousel UI component.
<amp-fit-text> A helper component for fitting text within a certain area.
<amp-layout> A container that can have aspect-ratio based responsive layouts.
<amp-sidebar> A sidebar for navigational purposes.
<amp-timeago> Provides a convenient way of rendering timestamps.


Element Description
<amp-img> An AMP component that replaces <img>.

Note: Binding to [src] is not allowed.
<amp-anim> Embeds GIF files.

Note: Binding to [src] is not allowed.