### Carousel

In browsers where the Page Visibility API is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).

Nested carousels are not supported.

#### Basic Example

Previous Next

#### Optional captions

### First Slide Label

Donut jujubes I love topping I love sweet. Jujubes I love brownie gummi bears I love donut sweet chocolate. Tart chocolate marshmallow.Tart carrot cake muffin.

### Second Slide Label

Tart macaroon marzipan I love soufflé apple pie wafer. Chocolate bar jelly caramels jujubes chocolate cake gummies. Cupcake cake I love cake danish carrot cake.

### Third Slide Label

Pudding sweet pie gummies. Chocolate bar sweet tiramisu cheesecake chocolate cotton candy pastry muffin. Marshmallow cake powder icing.

Previous Next

#### Carousel Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-`, as in `data-interval=""`.

#### Interval Option

The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.

Previous Next

#### Pause Option

If set to `"hover"`, pauses the cycling of the carousel on `mouseenter` and resumes the cycling of the carousel on `mouseleave`. If set to `null`, hovering over the carousel won't pause it.

Previous Next

#### Wrap Option

Whether the carousel should cycle continuously or have hard stops. Default: true

Previous Next

#### Keyboard Option

Whether the carousel should react to keyboard events. Default: true

Previous Next