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

contenu-dynamique

amp-bind
Autoriser la mutation des éléments en réponse aux actions de...
amp-form
Allows you to create forms to submit input fields in an AMP document.
amp-mraid
Supports interaction with the MRAID host API within Ad webviews in...
amp-mustache
Autoriser l'affichage de modèles Mustache.js.
amp-smartlinks
Run Narrativ's Linkmate process inside your AMP page

mise-en-page

amp-accordion
Permettre aux internautes d'avoir un aperçu du contenu et...
amp-carousel
Afficher plusieurs éléments de contenu similaires le long d'un axe...
amp-layout
The amp-layout` component allows you to apply aspect-ratio based...
amp-lightbox-gallery
Provides a "lightbox” experience. Upon user interaction, a UI...
amp-lightbox
Afficher des éléments dans une fenêtre modale "lightbox" en plein écran.
amp-position-observer
Monitors the position of an element within the viewport as a user...

médias

amp-anim
Manages an animated image, typically a GIF.
amp-audio
Replaces the HTML5 audio tag.
amp-img
Remplacer la balise d'image HTML5.
amp-video
Remplacer la balise vidéo HTML5.
amp-youtube
Afficher une vidéo YouTube.

présentation

amp-animation
Définir et afficher une 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.