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 Item <wa-carousel-item>

Represents one slide inside a carousel.

“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. 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>
  <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"></wa-carousel-item>
  <wa-carousel-item><img src="./images/hubble-deep-field.jpg" alt="Hubble deep field"></wa-carousel-item>
</wa-carousel>

Usage and API notes

This atomic element must be nested in <wa-carousel>. Use meaningful, descriptive media in each slide. The parent handles pagination, transitions, and navigation.

Media licenses and canonical sources: Showcase media.