사용법
일반 원근 배치와 반대 방향으로 카드의 깊이가 펼쳐져요.
2 / 4
인터페이스
InvertedPerspectiveCarouselProps
| 속성 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| items* | readonly InvertedPerspectiveCarouselItem[] | — | 캐러셀 항목 |
| ariaLabel | string | 반전 원근 캐러셀 | 접근성 라벨 |
| initialIndex | number | — | 초기 활성 인덱스 |
| onActiveIndexChange | (index: number) => void | — | 활성 인덱스 변경 콜백 |
| className | string | — | 루트 클래스 |
| style | CSSProperties | — | 인라인 스타일·CSS 변수 |
InvertedPerspectiveCarousel 컴포넌트 Props 표
가져오기
모션 CSS는 @goldtreedev/ui/motion.css를 함께 import해요.
@import "@goldtreedev/ui/motion.css";
import { InvertedPerspectiveCarousel } from "@goldtreedev/ui";