Carousel Generator
Build a carousel / slider — text or image slides with captions, one or several per view, prev / next arrows, dot pagination, autoplay with pause-on-hover, infinite loop, swipe / drag, keyboard and ARIA — with a live preview and HTML + CSS + JS output, a CSS-only scroll-snap version, or a React / Vue / Tailwind component.
What this tool does
It builds the markup, styles and JavaScript for a horizontal carousel and shows it live.
Defining slides
One per line. Plain text becomes a text slide. Start a line with
img: for an image slide:
img:https://… | Optional caption.
Mechanism
The JS version moves a flex track with transform:
translateX and supports autoplay, infinite loop and swipe. The
CSS-only version uses scroll-snap on an overflow
container — no JavaScript, native momentum, but no autoplay.
Autoplay & accessibility
Autoplay pauses on hover and on keyboard focus, exposes a
play/pause control, and the track is a aria-live region
set to off while playing. Arrows and dots have labels;
Left / Right arrow keys move slides.
Output
HTML + CSS + JS, a CSS-only scroll-snap version, or React / Vue / Tailwind.
Privacy
Everything runs in your browser. Nothing is uploaded.