사용법
가로
세로
스타일 커스터마이징
StepIndicator는 className과 style prop으로 루트 스타일을 덮어쓸 수 있어요.
<StepIndicator className="rounded-full px-4" style={{ opacity: 0.9 }} />인터페이스
StepIndicatorProps
| 속성 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| steps* | StepIndicatorItem[] | — | 단계 목록 |
| currentStep* | number | — | 현재 단계 (1-based) |
| orientation | "horizontal" | "vertical" | horizontal | 배치 방향 |
| className | string | — | 루트 요소 클래스. Tailwind·커스텀 CSS 적용 |
| style | CSSProperties | — | 인라인 스타일·CSS 변수(--gtd-*) 오버라이드 |
StepIndicator 컴포넌트 Props 표
가져오기
import { StepIndicator } from "@/components/ui/StepIndicator";