AMP

The AMP Component Catalogue

The AMP HTML library consists of a basic runtime that brings the core functionalities of AMP to your page. If you want to add additional features you can do so by using one or more of the ready-to-use AMP components. They are classified as:

Built-in Components that are included in the base library, such as amp-img and amp-pixel.
Extended Extensions to the base library that must be explicitly included in the document as custom elements.
Experimental Components that are released but are not yet ready for wide use.

Highlighted Components

Filter by category

Dynamic Content

amp-bind
Allows elements to mutate in response to user actions or data...
amp-form
Allows you to create forms to submit input fields in an AMP document.
amp-img
Replaces the HTML5 img tag.
amp-layout
A generic, multi-purpose container element that brings AMP's...
amp-mraid
Supports interaction with the MRAID host API within Ad webviews in...
amp-mustache
Allows rendering of Mustache templates.
amp-pixel
A tracking pixel to count page views.
amp-smartlinks
Run Narrativ's Linkmate process inside your AMP page

Media

amp-anim
Manages an animated image, typically a GIF.
amp-audio
Replaces the HTML5 audio tag.
amp-video
Replaces the HTML5 video tag.
amp-youtube
Displays a YouTube video.

Presentation

amp-animation
Defines and displays an animation.
amp-fit-text
Expands or shrinks font size to fit the content within the space given.
amp-font
Trigger and monitor the loading of custom fonts on AMP pages.