kor-ui/kor

Add component `kor-carousel`

Closed this issue · 0 comments

It would be useful to have a component for scrolling through content or images.

Thoughts on props:

// defines the interval. 100% shows 1 item at a time. takes any css 'width' value
"items-width": string;
// defines the gap between items. default is '12px'. takes any css 'gap' value
"gap": string;
// defines whether counter is shown (e.g. 1/3)
"show-counter": boolean;
// defines counter position (e.g. top-right, bottom)
"counter-position": string;