Carousel

A horizontally scrolling row that snaps to its CarouselItem or CarouselMediaItem children, with arrows. Bind activeIndex to read or set the slide in view.

Loading preview…

Props

Prop

Type

Slots

  • children · multiple

Events

  • onVisible · Sent once, the first time the container scrolls into view. Use it to load more content lazily.

A slide of a Carousel.

Loading preview…

Prop

Type

Slots

  • children · multiple

Events

  • onVisible · Sent once, the first time the container scrolls into view. Use it to load more content lazily.

A Carousel slide: an image with its children (a Caption, a Text) under it. size "sm" 160px, "md" 240px (default), "lg" 320px wide. A click opens all slides full-screen, unless href or onClick is set.

Loading preview…

Prop

Type

Slots

  • children · multiple

Events

  • onVisible · Sent once, the first time the container scrolls into view. Use it to load more content lazily.
  • onClick · Sent when the user clicks the image. It replaces the full-screen view.

All standard components

How is this guide?