사용법
클릭·터치 지점에서 파티클이 방사돼요.
인터페이스
ParticleBurstProps
| 속성 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| count | number | 12 | 파티클 수 |
| colors | string[] | — | 파티클 색상 배열 |
| className | string | — | 루트 클래스 |
| style | CSSProperties | — | 인라인 스타일·CSS 변수 |
ParticleBurst 컴포넌트 Props 표
가져오기
모션 CSS는 @goldtreedev/ui/motion.css를 함께 import해요.
@import "@goldtreedev/ui/motion.css";
import { ParticleBurst } from "@goldtreedev/ui";