Slider

The VSlider component is a customizable carousel for displaying content. It is built on the carousel component and extends its functionality with autoplay and fade effects, powered by embla-carousel plugins.

Props

PropTypeDefaultDescription
variantStringdefaultSets the slider variant ('default' or 'autoplay').
autoplayBooleanfalseEnables autoplay functionality.
fadeBooleanfalseEnables fade transition between slides.
autoplayChangeTimeNumber6000Duration (in ms) for autoplay slide transition.
optionsObject{}Additional options to configure the carousel.

Events

EventDescription
slideChangeEmitted when the slide changes.

Slots

Slot NameDescription
defaultSlot for custom content inside the slider.
Help Ukraine to stop russian aggression