Content Display

Depth Image Carousel

이미지 카드를 원근감 있게 회전시키는 3D 캐러셀입니다.

Preview

content media

Depth Image Carousel

rotate through image cards

Workspace
Architecture

Installation

bash
Copied
1pnpm dlx shadcn@latest add https://ryong.dev/r/3d-image-carousel.json

Code

typescript
Copied
1import { ThreeDImageCarousel } from "@/components/3d-image-carousel"23export default function Example() {4  return <ThreeDImageCarousel items={items} />5}

Props

PropTypeDefaultDescription
classNamestring-Additional classes merged onto the component.
itemsThreeDImageCarouselItem[]-Images to show.
slidesThreeDImageCarouselItem[]-Alias for images to show.
itemCount3 | 55Number of visible cascade positions.
intervalnumber-Auto-rotation interval alias in milliseconds.
delaynumber3Auto-rotation delay in seconds, matching the source component API.
autoplaybooleanfalseWhether to rotate automatically.
pauseOnHoverbooleantrueWhether autoplay pauses while hovering.

Reference

Lightswind 3D Image Carousel