Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Carousel <wa-carousel>

Coordinates a sequence of carousel item slides.

“Multimedia is a form of communication that uses a combination of different content forms.” — Wikipedia: Multimedia. This quote supplies general domain context, not an API definition.

Category: Media · Availability: Core · Maturity: Experimental.

Source: Web Awesome component source (MyST GitHub transformer); official component documentation.

Atomic composition

Reuse: Carousel Item. The full nested markup below remains independently usable.

Live preview

Static reference (works without JavaScript)

Falcon 9 launch photograph

The image and copyable HTML example below remain available if the interactive widget fails to initialize. The widget adds component behavior; it does not provide the only readable content.

Markdown code snippet

<wa-carousel pagination navigation loop mouse-dragging>
  <wa-carousel-item><img src="./images/rocket.jpg" alt="Falcon 9 rocket launch"></wa-carousel-item>
  <wa-carousel-item><img src="./images/coffee.png" alt="Cup of coffee" loading="lazy"></wa-carousel-item>
  <wa-carousel-item><img src="./images/hubble-deep-field.jpg" alt="Hubble deep field" loading="lazy"></wa-carousel-item>
</wa-carousel>

Usage and API notes

pagination renders slide indicators, navigation provides previous/next controls, loop wraps the sequence, and mouse-dragging enables pointer navigation. The live slides use three bundled photographs, not placeholders. Provide meaningful alt text and ensure navigation works by keyboard.

Media licenses and canonical sources: Showcase media.