새 알림이 가장자리에서 들어와 기존 알림을 밀거나 겹쳐 쌓이고 퇴장하면 남은 알림이 재정렬된다.Toasts enter, stack, and close gaps after dismissal.
12px 간격으로 알림 3개가 쌓이고 첫 알림 퇴장 후 빈자리가 닫힌다
알림이 중요한 버튼을 덮고 계속 늘어난다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 등장 | 350ms | 250~450ms | 오른쪽에서 진입 |
| 유지 | 2500ms | 2000~4000ms | 짧은 문장 읽기 |
| 퇴장 | 250ms | 180~350ms | 오른쪽으로 퇴장 |
| 카드 간격 | 12px | 8~24px | 스택 여백 |
| 카드 높이 | 96px | 72~144px | 재배치 계산 기준 |
gsap.set('.toast',{x:400,opacity:0});
tl.to('.toast',{x:0,opacity:1,duration:0.35,ease:'power3.out'},0);
tl.to('.toast',{x:400,opacity:0,duration:0.25},2.85);
tl.to('.toast-next',{y:-108,duration:0.35,ease:'power3.out'},3.1);그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 알림 스택을 적용한다. 알림을 350ms 등장, 2500ms 유지, 250ms 퇴장시키고 높이 96px와 여백 12px만큼 후속 알림을 재배치한다. 초기 상태를 명시한 paused 타임라인으로 만들고 고정 좌표와 시간만 사용해 seek를 재현한다.
Apply Toast Stack to <target> in <file>. Enter a toast in 350ms, hold for 2500ms, exit in 250ms, then close a 108px gap formed by its 96px height and 12px spacing. Define the initial state and use a paused timeline with fixed coordinates and timings for repeatable seeking.
<파일>에서 <대상>의 알림 스택 장면에 적용한다. 알림을 350ms 등장, 2500ms 유지, 250ms 퇴장시키고 높이 96px와 여백 12px만큼 후속 알림을 재배치한다. 0.86초·2.24초·3.65초 시점을 캡처해 시작 상태, 중간 관계, 최종 정착과 겹침 여부를 확인한다.
Implement Toast Stack in the scene for <target> in <file>. Enter a toast in 350ms, hold for 2500ms, exit in 250ms, then close a 108px gap formed by its 96px height and 12px spacing. Capture at 0.86s, 2.24s, 3.65s to verify the initial state, intermediate relationships, final settling, and unwanted overlap.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo