npm install
npm run dev
npm run build
npm run test
npm run lint
oneway - classic left\right carousel
slides - required array of slides
type Slide = {
id?: string | number
cover: string
title: string
text: string
} & Record<string, unknown>animationType - optional animation mode
autoplay - enables automatic slide switching, default false
autoplayInterval - delay between automatic switches in milliseconds, default 5000
When autoplay is enabled, it pauses while the cursor is over the carousel and resumes after mouseleave.
slide - fully replaces the slide layout and allows reordering parts
image, content, title, text, dots, dot - replace separate parts of the default layout
not-found - renders when slides is an empty array