Back to Components웨이팅리스트 등록
Pro 플랜 컴포넌트
곧 출시됩니다! 웨이팅리스트에 등록하고 소식을 받아보세요.
Beautiful animated gradient backgrounds for hero sections, backgrounds, and overlays. Supports mesh, linear, radial, and conic gradients.
설치
Import
고급/Pro 컴포넌트는 @hua-labs/ui/advanced에서 제공됩니다.
UI 컴포넌트, 모션 훅, i18n을 하나의 패키지로 사용할 수 있습니다.
Pro 컴포넌트입니다. Pro 라이선스가 필요합니다.
라이브 데모
그라디언트 타입
Select a gradient type to preview
Pro
커스텀 색상
Custom color combinations
속도 조절
Animation speed comparison
Props
| 이름 | 타입 | 기본값 | 설명 |
|---|---|---|---|
colors | string[] | ["#ff0080", "#7928ca", "#0070f3", "#00dfd8"] | Array of gradient colors |
speed | number | 3 | Animation speed in seconds |
blur | boolean | true | Enable blur effect |
blurAmount | number | 100 | Blur amount in pixels |
type | "linear" | "radial" | "conic" | "mesh" | "mesh" | Gradient type |
animate | boolean | true | Enable animation |
코드 예시
접근성
- •모션 감소: prefers-reduced-motion 설정 존중
- •장식 전용: 순수 장식 요소로 콘텐츠 접근성에 영향 없음