사용법

Components
0+FPS target
0Satisfaction
0.0%인터페이스
CountUpProps
| 속성 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| value* | number | — | 목표 숫자 |
| duration | number | 1400 | 애니메이션 길이(ms) |
| prefix | string | — | 앞 접두사 |
| suffix | string | — | 뒤 접미사 |
| decimals | number | 0 | 소수 자릿수 |
| className | string | — | 루트 클래스 |
| style | CSSProperties | — | 인라인 스타일·CSS 변수 |
CountUp 컴포넌트 Props 표
가져오기
모션 CSS는 @goldtreedev/ui/motion.css를 함께 import해요.
@import "@goldtreedev/ui/motion.css";
import { CountUp } from "@goldtreedev/ui";