Do you build things with AMP? Fill out the AMP Developer Survey!
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

动态内容

amp-consent
Provides the ability to collect and store a user's consent through...
amp-geo
Provides an approximate country-level geolocation interface.
amp-gist
Creates an iframe and displays a GitHub Gist.
amp-install-serviceworker
Installs a ServiceWorker for the current page.
amp-list
动态下载数据并使用模板创建列表项。
amp-live-list
Provides a way to display and update content live.
amp-story-interactive
A rich set of interactive experiences for stories, including...

媒体

amp-audio
替代 HTML5 audio 标记。
amp-img
替换 HTML5 img 标记。
amp-video
替代 HTML5 视频标记。