Carousel Item

<wa-carousel-item> Since 2.0 experimental

A carousel item represent a slide within a carousel.

This component must be used as a child of <wa-carousel>. Please see the Carousel docs to see examples of this component in action.

Slots

Learn more about using slots.

CSS custom properties

Learn more about CSS custom properties.

Importing

The autoloader is the recommended way to import components. If you prefer to do it manually, use one of the following code snippets.

CDN npm React

To manually import this component from the CDN, use the following code.

import 'https://early.webawesome.com/webawesome@3.0.0-beta.2/dist/components/carousel-item/carousel-item.js';

To manually import this component from NPM, use the following code.

import '@awesome.me/webawesome/dist/components/carousel-item/carousel-item.js';

To manually import this component from React, use the following code.

import '@awesome.me/webawesome/dist/react/carousel-item';
Need a hand? Report a bug Ask for help
    No results