Sponsor of the Day:
Jerkmate
https://amp.dev/documentation/examples/components/amp-image-lightbox/
Example: amp-image-lightbox - amp.dev
The amp-image-lightbox component allows the user to expand an image to fill the viewport.
example ampimage lightboxdev
https://amp.dev/documentation/examples/websites/components/amp-list/
Example: amp-list - amp.dev
The amp-list enables client-side rendering in AMP.
example amp listdev
https://amp.dev/documentation/examples/components/amp-3d-gltf/
Example: amp-3d-gltf - amp.dev
The amp-3d-gltf component displays 3D models that are in glTF format.
example amp3dgltfdev
https://amp.dev/documentation/examples/components/amp-bind-macro/
Example: amp-bind-macro - amp.dev
This example shows how you can sanitize user input for a URL with an amp-bind-macro call.
example amp bindmacrodev
https://amp.dev/documentation/examples/components/amp-soundcloud/
Example: amp-soundcloud - amp.dev
Use the amp-soundcloud component topPlay soundcloud tracks from within AMP HTML files.
example ampsoundclouddev
https://amp.dev/documentation/examples/websites/components/amp-call-tracking/
Example: amp-call-tracking - amp.dev
amp-call-tracking replaces static phone numbers with dynamically generated phone numbers used for call tracking analytics.
amp call trackingexampledev
https://amp.dev/documentation/examples/websites/components/amp-live-list/
Example: amp-live-list - amp.dev
The amp-live-list component adds support for publishing live updates to AMP pages as new content becomes available in the source document.
example amplive listdev
https://amp.dev/documentation/examples/websites/components/amp-iframe/
Example: amp-iframe - amp.dev
Use amp-iframe for embedding content into AMP files via iframe.
amp iframe devexample
https://amp.dev/documentation/examples/websites/components/amp-access/
Example: amp-access - amp.dev
The amp-access component adds support for authentication and authorization, allowing you to limit access to parts of your AMP pages as well as display...
example amp accessdev
https://amp.dev/documentation/examples/websites/components/amp-jwplayer/
Example: amp-jwplayer - amp.dev
Use the amp-jwplayer extension to embed jwplayer videos in your AMP HTML files.
amp jwplayer devexample
https://amp.dev/documentation/examples/components/amp-anim/
Example: amp-anim - amp.dev
Use amp-anim to embed animations (gif, webp) into your AMP HTML files.
example ampanimdev
https://amp.dev/documentation/examples/components/amp-carousel.email/
Example: amp-carousel - amp.dev
The amp-carousel component allows displaying multiple similar pieces of content along a horizontal axis.
amp carousel devexample
https://amp.dev/documentation/examples/websites/components/amp-reddit/
Example: amp-reddit - amp.dev
The amp-reddit component allows embedding both reddit posts and comments into AMP files.
example ampredditdev
https://amp.dev/documentation/examples/components/amp-iframe/
Example: amp-iframe - amp.dev
Use amp-iframe for embedding content into AMP files via iframe.
amp iframe devexample
https://amp.dev/documentation/examples/components/amp-reddit/
Example: amp-reddit - amp.dev
The amp-reddit component allows embedding both reddit posts and comments into AMP files.
example ampredditdev
https://amp.dev/documentation/examples/components/amp-bind/
Example: amp-bind - amp.dev
amp-bind allows you to add custom interactivity to your pages beyond using AMP's pre-built components.
example amp binddev
https://amp.dev/documentation/examples/components/amp-brid-player/
Example: amp-brid-player - amp.dev
Embed Brid Player videos in your AMP HTML files.
amp brid playerexampledev
https://amp.dev/documentation/examples/components/amp-youtube/
Example: amp-youtube - amp.dev
Use amp-youtube to embed YouTube videos into your AMP HTML files.
amp youtube devexample
https://amp.dev/documentation/examples/components/amp-dynamic-css-classes/
Example: amp-dynamic-css-classes - amp.dev
AMP's dynamic CSS classes provided by the amp-dynamic-css-class enable boolean logic for a handful of conditions
amp dynamic cssclasses devexample
https://amp.dev/documentation/examples/components/amp-story-360/
Example: amp-story-360 - amp.dev
The amp-story-360 component embeds 360 images and videos, explorable by gyroscope or animatable between points.
example amp story360dev
https://amp.dev/documentation/examples/components/amp-story-shopping/
Example: amp-story-shopping - amp.dev
The amp-story-shopping component is used to create shopping experiences within Web Stories.
example amp storyshoppingdev
https://amp.dev/documentation/examples/components/amp-autocomplete-email/
Example: amp-autocomplete-email - amp.dev
An autocomplete-enabled input field suggests completed results corresponding to the user input as they type into the input field.
example ampemail devautocomplete
https://amp.dev/documentation/examples/components/amp-render/
Example: amp-render - amp.dev
The amp-render component provides a simple way to load JSON from a server and render it using a mustache template.
example amprenderdev
https://amp.dev/documentation/examples/components/amp-date-countdown/
Example: amp-date-countdown - amp.dev
amp-date-countdown component allows to create a dynamic timer that counts down to the given date and time which you can render in your AMP page.
example amp datecountdowndev
https://amp.dev/documentation/examples/components/amp-list.email/
Example: amp-list - amp.dev
The amp-list enables client-side rendering in AMP.
example amp listdev
https://amp.dev/documentation/examples/components/amp-live-list/
Example: amp-live-list - amp.dev
The amp-live-list component adds support for publishing live updates to AMP pages as new content becomes available in the source document.
example amplive listdev
https://amp.dev/documentation/examples/components/amp-font/
Example: amp-font - amp.dev
Learn how to use the amp-font component to trigger and monitor the loading of custom fonts on AMP pages.
amp font devexample
https://amp.dev/documentation/examples/websites/components/amp-instagram/
Example: amp-instagram - amp.dev
Use the amp-instagram component to embed instagram videos and photos into your AMP HTML files.
amp instagram devexample
https://amp.dev/documentation/examples/components/amp-bind-recaptcha/
Example: amp-bind-recaptcha - amp.dev
This example shows how to create recaptcha input using just amp-bind.
example amp bindrecaptchadev
https://amp.dev/documentation/examples/websites/components/amp-date-display/
Example: amp-date-display - amp.dev
The amp-date-display component renders date information in various date formats and in different locales.
example amp datedisplaydev
https://amp.dev/documentation/examples/components/amp-bind-macro.email/
Example: amp-bind-macro - amp.dev
This example shows how you can sanitize user input for a URL with an amp-bind-macro call.
example amp bindmacrodev
https://amp.dev/documentation/examples/websites/components/amp-vine/
Example: amp-vine - amp.dev
Use amp-vine to embed Vine videos in your AMP HTML files.
amp vine devexample
https://amp.dev/documentation/examples/components/amp-facebook-comments/
Example: amp-facebook-comments - amp.dev
The amp-facebook-comments component allows embedding Facebook comments into AMP files.
example amp facebookcomments dev
https://amp.dev/documentation/examples/components/amp-social-share/
Example: amp-social-share - amp.dev
The amp-social-share component provides a common interface for share buttons, styled to complement each other.
example ampsocial sharedev
https://amp.dev/documentation/examples/websites/components/amp-install-serviceworker/
Example: amp-install-serviceworker - amp.dev
The amp-install-serviceworker component enables service worker installation via same origin or via the Google AMP Cache.
example ampinstallserviceworkerdev
https://amp.dev/documentation/examples/advertising-analytics/amphtml_ads_vs_non_amp_ads/
Example: AMP Ads vs non-AMP Ads - amp.dev
This sample compares the performance of an AMPHTML ad vs a regular ad.
example ampads vsnondev
https://amp.dev/documentation/examples/websites/components/amp-font/
Example: amp-font - amp.dev
Learn how to use the amp-font component to trigger and monitor the loading of custom fonts on AMP pages.
amp font devexample
https://amp.dev/documentation/examples/websites/components/amp-date-picker/
Example: amp-date-picker - amp.dev
amp-date-picker is an AMP component which allows to select a single date or a range of dates.
example amp datepicker dev
https://amp.dev/documentation/examples/websites/components/amp-facebook-comments/
Example: amp-facebook-comments - amp.dev
The amp-facebook-comments component allows embedding Facebook comments into AMP files.
example amp facebookcomments dev
https://amp.dev/documentation/examples/websites/components/amp-twitter/
Example: amp-twitter - amp.dev
Use amp-twitter to embed tweets into your AMP HTML files.
amp twitter devexample
https://amp.dev/documentation/examples/websites/components/amp-brid-player/
Example: amp-brid-player - amp.dev
Embed Brid Player videos in your AMP HTML files.
amp brid playerexampledev
https://amp.dev/documentation/examples/components/amp-fx-flying-carpet/
Example: amp-fx-flying-carpet - amp.dev
amp-fx-flying-carpet displays its children inside a container of fixed height.
amp fx flyingcarpet devexample
https://amp.dev/documentation/examples/websites/components/amp-pinterest/
Example: amp-pinterest - amp.dev
The amp-pinterest component allows embedding a save button or pin widget.
amp pinterest devexample
https://amp.dev/documentation/examples/websites/components/amp-audio/
Example: amp-audio - amp.dev
AMP replaces the HTML5 audio tag with its own version: amp-audio.
amp audio devexample
https://amp.dev/documentation/examples/components/amp-recaptcha-input/
Example: amp-recaptcha-input - amp.dev
The amp-recaptcha-input component appends a reCAPTCHA v3 token to AMP form submissions.
example amprecaptchainputdev
https://amp.dev/documentation/examples/websites/components/amp-render/
Example: amp-render - amp.dev
The amp-render component provides a simple way to load JSON from a server and render it using a mustache template.
example amprenderdev
https://amp.dev/documentation/examples/e-commerce/amp_for_e-commerce_getting_started/
Example: AMP for E-Commerce Getting Started - amp.dev
Here is a quick getting started guide for creating e-commerce webpages with AMP.
example ampgetting startedcommercedev
https://amp.dev/documentation/examples/components/amp-brightcove/
Example: amp-brightcove - amp.dev
The amp-brightcove component allows embedding a Brightcove Video Cloud or Perform player.
example ampbrightcovedev
https://amp.dev/documentation/examples/components/amp-app-banner/
Example: amp-app-banner - amp.dev
amp-app-banner provides a minimal UI for a cross-platform, fixed-position banner showing a call-to-action to install an app.
example ampapp bannerdev
https://amp.dev/documentation/examples/websites/components/amp-ad/
Example: amp-ad - amp.dev
How to display ads in your AMP HTML files.
example ampad dev
https://amp.dev/documentation/examples/websites/components/amp-bind/
Example: amp-bind - amp.dev
amp-bind allows you to add custom interactivity to your pages beyond using AMP's pre-built components.
example amp binddev
https://amp.dev/documentation/examples/websites/components/amp-accordion/
Example: amp-accordion - amp.dev
An accordion provides a way for viewers to have a glance at the outline of the content and jump to a section or their choice at their will.
amp accordion devexample
https://amp.dev/documentation/examples/components/amp-facebook/
Example: amp-facebook - amp.dev
The amp-facebook component allows embedding both Facebook posts and videos into AMP files.
example amp facebookdev
https://amp.dev/documentation/examples/websites/components/amp-timeago/
Example: amp-timeago - amp.dev
The amp-timeago provides fuzzy timestamps by formatting dates as "X time ago"
amp timeago devexample
https://amp.dev/documentation/examples/components/amp-web-push/
Example: amp-web-push - amp.dev
The amp-web-push component allows users to subscribe to web push notifications.
example ampweb pushdev
https://amp.dev/documentation/examples/components/amp-lightbox-gallery/
Example: amp-lightbox-gallery - amp.dev
The amp-lightbox-gallery component provides a "lightbox” experience for AMP components (e.g., amp-img, amp-carousel).
amp lightbox galleryexampledev
https://amp.dev/documentation/examples/websites/components/amp-user-notification/
Example: amp-user-notification - amp.dev
Use amp-user-notification to display a dismissable notification to the user.
amp user notificationexampledev
https://amp.dev/documentation/examples/websites/components/amp-bind-recaptcha/
Example: amp-bind-recaptcha - amp.dev
This example shows how to create recaptcha input using just amp-bind.
example amp bindrecaptchadev
https://amp.dev/documentation/examples/components/amp-timeago/
Example: amp-timeago - amp.dev
The amp-timeago provides fuzzy timestamps by formatting dates as "X time ago"
amp timeago devexample
https://amp.dev/documentation/examples/websites/components/amp-addthis/
Example: amp-addthis - amp.dev
The amp-addthis component integrates AddThis Floating Bar and Inline Share Buttons.
amp addthis devexample
https://amp.dev/documentation/examples/components/amp-anim.email/
Example: amp-anim - amp.dev
Use amp-anim to embed animations (gif, webp) into your AMP HTML files.
example ampanimdev
https://amp.dev/documentation/examples/websites/components/amp-youtube/
Example: amp-youtube - amp.dev
Use amp-youtube to embed YouTube videos into your AMP HTML files.
amp youtube devexample
https://amp.dev/documentation/examples/websites/components/amp-pixel/
Example: amp-pixel - amp.dev
amp-pixel is a lightweight mechanism for measuring pageviews.
example amppixeldev
https://amp.dev/documentation/examples/components/amp-script/
Example: amp-script - amp.dev
The amp-script component allows you to run custom JavaScript.
example ampscriptdev
https://amp.dev/documentation/examples/websites/components/amp-facebook/
Example: amp-facebook - amp.dev
The amp-facebook component allows embedding both Facebook posts and videos into AMP files.
example amp facebookdev
https://amp.dev/documentation/examples/components/amp-selector/
Example: amp-selector - amp.dev
amp-selector lets the user choose from a list of options.
amp selector devexample
https://amp.dev/documentation/examples/components/amp-video-iframe/
Example: amp-video-iframe - amp.dev
With amp-video-iframe you can include a custom-built video player that will obtain all the features available in the AMP Video Interface
example ampiframe devvideo
https://amp.dev/documentation/examples/visual-effects/amp_story_animations/
Example: AMP Story Animations - amp.dev
AMP Stories support animations out-of-the-box.
example amp storyanimationsdev
https://amp.dev/documentation/examples/components/amp-access-laterpay/
Example: amp-access-laterpay - amp.dev
amp-access-laterpay allows publishers to easily integrate with the payment infrastructure platform LaterPay.
example amp accesslaterpay dev
https://amp.dev/documentation/examples/components/amp-dailymotion/
Example: amp-dailymotion - amp.dev
The amp-dailymotion component allows to embed daily motion videos into your AMP HTML files.
example ampdailymotiondev
https://amp.dev/documentation/examples/websites/components/amp-access-laterpay/
Example: amp-access-laterpay - amp.dev
amp-access-laterpay allows publishers to easily integrate with the payment infrastructure platform LaterPay.
example amp accesslaterpay dev
https://amp.dev/documentation/examples/components/amp-instagram/
Example: amp-instagram - amp.dev
Use the amp-instagram component to embed instagram videos and photos into your AMP HTML files.
amp instagram devexample
https://amp.dev/documentation/examples/components/amp-call-tracking/
Example: amp-call-tracking - amp.dev
amp-call-tracking replaces static phone numbers with dynamically generated phone numbers used for call tracking analytics.
amp call trackingexampledev
https://amp.dev/documentation/examples/components/amp-next-page/
Example: amp-next-page - amp.dev
amp-next-page allows you to add an infinite scroll style experience to your AMP pages.
example ampnextdev
https://amp.dev/documentation/examples/components/amp-autocomplete/
Example: amp-autocomplete - amp.dev
An autocomplete-enabled input field suggests completed results corresponding to the user input as they type into the input field.
example ampautocompletedev
https://amp.dev/documentation/examples/components/amp-user-notification/
Example: amp-user-notification - amp.dev
Use amp-user-notification to display a dismissable notification to the user.
amp user notificationexampledev
https://amp.dev/documentation/examples/components/amp-hulu/
Example: amp-hulu - amp.dev
Use the amp-hulu component to embed Hulu videos into AMP files.
example amphuludev
https://amp.dev/documentation/examples/websites/components/amp-carousel/
Example: amp-carousel - amp.dev
The amp-carousel component allows displaying multiple similar pieces of content along a horizontal axis.
amp carousel devexample
https://amp.dev/documentation/examples/components/amp-sticky-ad/
Example: amp-sticky-ad - amp.dev
amp-sticky-ad adds support for ad units that always take a fixed place in the viewport in your AMP HTML files.
example ampad devsticky
https://amp.dev/documentation/examples/components/amp-audio/
Example: amp-audio - amp.dev
AMP replaces the HTML5 audio tag with its own version: amp-audio.
amp audio devexample
https://amp.dev/documentation/examples/style-layout/amp_story_layouts/
Example: AMP Story Layouts - amp.dev
The amp-story-grid-layer provides a few pre-defined layout templates.
example amp storylayoutsdev
https://amp.dev/documentation/examples/components/amp-jwplayer/
Example: amp-jwplayer - amp.dev
Use the amp-jwplayer extension to embed jwplayer videos in your AMP HTML files.
amp jwplayer devexample
https://amp.dev/documentation/examples/websites/components/amp-bodymovin-animation/
Example: amp-bodymovin-animation - amp.dev
Embed Bodymovin animations in your AMP HTML files.
example ampanimation dev
https://amp.dev/documentation/examples/components/amp-list/
Example: amp-list - amp.dev
The amp-list enables client-side rendering in AMP.
example amp listdev
https://amp.dev/documentation/examples/components/amp-pinterest/
Example: amp-pinterest - amp.dev
The amp-pinterest component allows embedding a save button or pin widget.
amp pinterest devexample
https://amp.dev/documentation/examples/style-layout/carousel_ad/
Example: Carousel Ad - amp.dev
Sample AMPHTML ad using amp-carousel to create an interactive ad.
ad amp devexamplecarousel
https://amp.dev/documentation/examples/interactivity-dynamic-content/restrict_duplicate_selection.email/
Example: Restrict Duplicate Selection - amp.dev
This is a sample showing how to restrict duplicate selection of items in amp-list.
example restrict duplicateselectiondev
https://amp.dev/documentation/examples/introduction/hello_world/
Example: Hello World - amp.dev
An AMP HTML tutorial - learn the different building blocks of an AMP HTML file.
example hello worlddev
https://amp.dev/documentation/examples/websites/interactivity-dynamic-content/tic_tac_toe/
Example: Tic-Tac-Toe - amp.dev
This is a sample showing how to implement Tic-Tac-Toe.
tic tac toeamp devexample
https://amp.dev/documentation/examples/interactivity-dynamic-content/paged_list/
Example: Paged List - amp.dev
Often, users requests data that could fill multiple pages of content, so web applications must provide a way for users to navigate across pages of data.
amp devexamplepagedlist
https://amp.dev/documentation/examples/visual-effects/ken_burns/
Example: Ken Burns - amp.dev
Best known for his work on documentaries, Ken Burns developed a signature effect which consisted of a combination of panning and zooming over an image.
ken burnsamp devexample
https://amp.dev/documentation/examples/multimedia-animations/rich_media_notifications/
Example: Rich Media Notifications - amp.dev
Media notifications are one of the most common ways users control media playback on mobile devices.
rich mediaamp devexamplenotifications