# Upstage Design System — ToastStack (product)

- context: product · group: overlays
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /ko/components/product/toaststack/ · machine doc: /agent/components/product/toaststack.md

## Required references (read these)
- /components/overlays/Toast.jsx — implementation · sha256 c54e7d23adba…
- /components/_types.d.ts — api · key ToastStackProps
- /components/overlays/Toast.prompt.md — usage-note · sha256 9b55eb024041…

## API (components/_types.d.ts ToastStackProps)
- position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" (default bottom-right)
- children?: React.ReactNode
- style?: React.CSSProperties

## Unverified
- Browser behaviour is not verified here (static source check only).

## Usage note (original, KO)

Transient, non-blocking feedback. Auto-dismisses after `duration` and pauses while hovered or focused. Wrap in `ToastStack` so several stack correctly.



제목에 결과를 담는다 — "완료"가 아니라 무엇이 완료됐는지. 본문에는 숫자나 다음 동작을 하나 넣고, 없으면 본문을 비운다. 판단이 필요한 오류는 Toast가 아니라 Modal이나 Banner.

문구 규칙은 [DESIGN.microcopy.md](../../context/DESIGN.microcopy.md). 금지: "성공적으로 완료되었습니다" — 무엇이 됐는지와 숫자 하나로 바꾼다.

**화면에 상태 표시가 이미 충분하면 완료 토스트를 띄우지 않는다.** 같은 사실을 두 번 알리면 토스트가 닳는다. Studio에서 실행할 때 "변경된 설정이 반영됩니다" 토스트를 띄웠는데, 결과 영역 배너와 노드 마커가 같은 내용을 이미 보여 줘서 토스트를 걷었다(2026-06-16).

| 상황 | 토스트 |
|---|---|
| 결과가 화면의 배너, 행 상태, 마커에 바로 보인다 | 띄우지 않는다 |
| 되돌릴 수 있는 동작을 확인 없이 실행했다 | 띄우고 실행 취소를 둔다. 문구에 범위를 넣는다(✓ "이 안내를 이 브라우저에서 숨겼습니다.") |

### 1.9.4 상태·접근성 계약


hover와 focus-within 중 하나라도 유지되면 타이머를 정지한다. 둘 다 해제되면 duration 전체를 다시 시작한다.

## Examples (from the usage note)

```jsx
<ToastStack>
  {list.map(t => <Toast key={t.id} tone={t.tone} title={t.title} onClose={() => dismiss(t.id)}>{t.body}</Toast>)}
</ToastStack>
```
