Loading component…
Components /Cylinder Carousel
Infinite CSS 3D cylinder image carousel
Run the following command
npx shadcn@latest add https://raw.githubusercontent.com/Ashutoshx7/VengeanceUI/main/public/r/cylinder-carousel.json| Prop Name | Type | Default | Description |
|---|---|---|---|
| images | CarouselImage[] | - | Array of images to display in the 3D cylinder. |
| className | string | - | Additional classes for the outer wrapper. |
| containerClassName | string | - | Additional classes for the rotating container. |
| cardClassName | string | - | Additional classes for the individual image cards. |
| animationDuration | number | 32 | Duration of a full rotation in seconds. |
| cardWidth | number | 250 | Width of each card in pixels. Affects cylinder radius calculation. |
| Prop Name | Type | Default | Description |
|---|---|---|---|
| src | string | - | Image URL. |
| alt | string | - | Optional alt text. |