Image Carousel

An accessible image carousel with spring animations, keyboard navigation, auto-play, and reduced motion support.

npx arupui add image-carousel
Preview
Minimalist DesignSlide 1 of 3

Minimalist Design

Clean lines and simple forms create timeless elegance.

Usage

image-carousel.tsx
import { ImageCarousel } from "@/components/blocks/image-carousel"

<ImageCarousel
  slides={[
    { id: 1, image: "/img1.jpg", title: "Slide 1", description: "Description" },
    { id: 2, image: "/img2.jpg", title: "Slide 2", description: "Description" },
  ]}
  autoPlay
  grayscale={false}
/>

Props

slides
Type: ImageCarouselSlide[]Default: []
grayscale
Type: booleanDefault: true
autoPlay
Type: booleanDefault: false
autoPlayInterval
Type: numberDefault: 5000
Theme Editor

Theme

Radius0.5rem
Letter Spacing0em

Colors

light