# Upstage Design System — Toast (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/toast/ · machine doc: /agent/components/product/toast.md
## Required references (read these)
- /components/overlays/Toast.jsx — implementation · sha256 c54e7d23adba…
- /components/_types.d.ts — api · key ToastProps
- /components/overlays/Toast.prompt.md — usage-note · sha256 9b55eb024041…
- /kit/rules/a11y-contract.json — a11y · key Toast
## API (components/_types.d.ts ToastProps)
- tone?: "success" | "warning" | "info" | "error" (default info)
- title?: React.ReactNode
- children?: React.ReactNode
- action?: React.ReactNode
- onClose?: () => void
- duration?: number (default 5000)
- style?: React.CSSProperties
## Accessibility contract
- keys: -
- aria: role=status, role=alert(error), aria-live
- notes: hover/focus 시 자동 닫힘 정지
## Rules that name this component
- P-SURFACE-1: Toast·Banner·알림·카드·인용문 한쪽 면의 장식 강조선/색 띠 (방향별 border, inset shadow, 가상 요소 포함)
## Unverified
- Browser behaviour is not verified here (static source check only).
계약 (a11y-contract.json)
| keys | — |
|---|---|
| aria | role=status, role=alert(error), aria-live |
| notes | hover/focus 시 자동 닫힘 정지 |
상태 · 접근성 (사용 지침)
components/overlays/Toast.prompt.md원문 · KO · 번역하지 않았다
1.9.4 상태·접근성 계약
hover와 focus-within 중 하나라도 유지되면 타이머를 정지한다. 둘 다 해제되면 duration 전체를 다시 시작한다.
포커스
Product 공통 포커스 링은 tokens/a11y.css 가 정한다. 이 구현은 data-ds-focus 를 단다.
검증 여부
Lift 원본(구현 · prop 계약 · 사용 지침 · 접근성 계약)을 정적으로 옮겼다. 키보드 · 스크린리더 · 대비의 브라우저 검증은 하지 않았다.
출처
components/overlays/Toast.jsximplementation · sha256 c54e7d23adba…components/_types.d.tsapi · ToastPropscomponents/overlays/Toast.prompt.mdusage-note · sha256 9b55eb024041…kit/rules/a11y-contract.jsona11y · Toastkit/rules/forbidden-rules.jsonrules · P-SURFACE-1