+13 New Product Cards Released!

Browse Product Cards
Image Carousel

Image Carousel - Basic

An image carousel component to display images as a slideshow

Loading...

Install

npx shadcn@latest add https://ui.stackzero.co/r/image-carousel-basic.json

Examples

Change thumbnail position

Loading...

Hide thumbnails

Loading...

Controlled

In some cases you might want to control the carousel from outside. For example, you might want to trigger a slide change when the user selects a different product variant and you want to show immediately the corresponding image.

You can control the carousel using selectedIndex and onSlideChange props.

Loading...

On this page

Power your apps with stackzero API

Create a fully functional commerce website or apps in minutes with the official API integration.

Commerce API