Arc Carousel
A continuously drifting strip of photographs riding a shallow arc. Every card follows one shared path, offset per card so the set spreads evenly along the curve - no per-frame work, and the strip lands in the right place on the first paint. Hovering halts it.
Installation
npx stepwise-ui add arc-carousel
Default
Cards tilt tangentially to the curve, so the ends of the strip lean away from the middle.
Props
PropTypeDescription
itemsArcCarouselItem[]Images to loop. { src, alt? }.
arcnumberDegrees of arc swept across the visible width - sets both the bow and the card tilt, which on a real curve are the same thing. 0 is flat. Default 30.
durationnumberSeconds for one full pass. Default 38.
itemWidthnumberCard width in px. Default 128.
rationumberCard height ÷ width. Default 1.3.
gapnumberSpace between cards, px. Default 10.
radiusnumberCard corner radius. Default 18.
reversebooleanTravel left-to-right instead.
pauseOnHoverbooleanHalt travel while hovered. Default true.
classNamestringMerged onto the root.


