ZARITALK DESIGN DOCS
Tokens
Colors
Type Scale
Components
Button
Input
Typography
Alert
Badge
Tag
Tab
CheckBox
Toggle
Rating
Modal
BottomSheet
Divider
LoadingSpinner
Skeleton
Radio
TextArea
DropDown
Tooltip
SplitRating
Slider
AutoHeightTextArea
Avatar
HighlightTypography
RedDot
HR
VR
Overlay
Loading
Popup
Menu
AlertWithConfirmButton
MultiCheckBox
TabBottomBorder
Calendar
DatePicker
TimePicker
WeekPicker
DayPicker
InfiniteScroll
PullToRefresh
RevealAnimation
SignaturePad
ImagePreview
Variants
Design Docs
RevealAnimation컨텐츠를 부드럽게 나타내거나 사라지게 하는 애니메이션 컴포넌트입니다. 높이와 투명도 애니메이션을 지원하며, 한 번만 재생하거나 반복 재생할 수 있습니다.
Examples
Basic Reveal버튼을 클릭하여 애니메이션을 확인하세요
With DelaydelaySecond prop으로 애니메이션 시작을 지연시킬 수 있습니다
Props
NameTypeDefaultRequiredDescription
animationKeystringYes애니메이션을 식별하는 고유 키 (localStorage에 재생 여부 저장)
initialstring{ height: 0, opacity: 0 }-애니메이션 시작 상태 (height, opacity)
animatestring{ height: 'auto', opacity: 1 }-애니메이션 종료 상태 (height, opacity)
transitionstring{ duration: 0.3, ease: 'easeInOut' }-애니메이션 전환 설정 (duration, ease)
delaySecondnumber0-애니메이션 시작 지연 시간 (초)
onAnimationCompletestringundefined-애니메이션 완료 시 실행될 콜백 함수
shouldAlwaysPlayAnimationbooleanfalse-항상 애니메이션을 재생할지 여부 (false면 한 번만 재생)
customStylestring{}-커스텀 CSS 스타일 객체
customClassNamestring{}-커스텀 Panda CSS 클래스
childrenstringYes애니메이션이 적용될 자식 요소