A
Auralix UI

Carousel

A swipeable content slider with support for auto-play and controls.

Preview

Slide 1
Slide 2
Slide 3

Installation

bash
npx auralix-ui add carousel

Usage

Image Carousel

tsx
import { Carousel } from "@/components/ui/Carousel";

<Carousel items={[<img src="1.jpg" />, <img src="2.jpg" />]} />

Props

NameTypeDefaultDescription
itemsReactNode[][]Array of items to display.
autoPlaybooleanfalseEnable auto-play.
showControlsbooleantrueShow prev/next buttons.

Variants

Default
1
2
Auto Play
Auto 1
Auto 2
Minimal
1
2