Thumbnail-Driven Product Carousel
The highest-intent carousel on the internet: the buyer is already looking. Thumbs drive the viewport, swipe is native scroll-snap, nothing autoplays, and position is always visible.
Create a product image gallery: a main viewport using CSS scroll-snap with one slide per view, and a thumbnail rail below where the active thumb gets an indigo-600 ring, syncing in both directions as the user scrolls or clicks. Prev and Next buttons overlay the viewport edges, disabled at 30% opacity at the ends. Arrow keys work while focus is inside the region. Each image lazy-loads behind a zinc-100 shimmer and carries alt text from the product data; a failed image renders a neutral tile instead of a broken icon. Show an image count like 3 of 8 in the corner, keep touch swipe from ever blocking vertical page scroll, and give every control a visible focus ring.



