Carousel
@rockshin/tao-uiSlides with native arrows and dots, automatic playback, fade transitions, responsive layouts and ref controls.
Each example can be copied and run independently. Use the device control on framed previews to switch between desktop and phone widths.
Examples
Arrows and dots
Dots navigate directly to a slide. arrows enables previous/next controls.
Imperative navigation
The ref exposes goTo, next and prev while afterChange reports the settled slide index.
Automatic playback
autoplaySpeed controls the interval. dotDuration shows elapsed time on the active indicator.
Fade transition
effect="fade" changes the transition while keeping the same navigation API.
Vertical slides
Placing dots at start or end enables vertical slides unless vertical is explicitly overridden.
Multiple visible slides
Responsive settings show two slides on wider screens and one below 480 px.
Custom pagination
customPaging changes each dot button; semantic styles position the dots as a group.
Swipe on a phone
Touch swiping is enabled by default. draggable also enables mouse dragging for desktop previews.