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

conteúdo dinâmico

amp-bind
Permite que os elementos se alterem em resposta às ações do...
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
Permite a renderização de modelos Mustache.js.
amp-smartlinks
Run Narrativ's Linkmate process inside your AMP page

layout

amp-accordion
Oferece aos usuários uma visualização rápida do conteúdo e permite...
amp-carousel
Exibe vários conteúdos semelhantes em um eixo horizontal.
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
Exibe elementos em um modal "lightbox" que ocupa toda a janela de...
amp-position-observer
Monitors the position of an element within the viewport as a user...

mídia

amp-anim
Manages an animated image, typically a GIF.
amp-audio
Replaces the HTML5 audio tag.
amp-img
Substitui a tag img de HTML5.
amp-video
Substitui a tag de vídeo HTML5.
amp-youtube
Exibe um vídeo do YouTube.

apresentação

amp-animation
Define e exibe uma animação.
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.