# 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: /en/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).
Contract (a11y-contract.json)
| keys | — |
|---|---|
| aria | role=status, role=alert(error), aria-live |
| notes | hover/focus 시 자동 닫힘 정지 |
State and accessibility (usage note)
components/overlays/Toast.prompt.mdOriginal · KO · not translated
1.9.4 상태·접근성 계약
hover와 focus-within 중 하나라도 유지되면 타이머를 정지한다. 둘 다 해제되면 duration 전체를 다시 시작한다.
Focus
The shared Product focus ring is defined in tokens/a11y.css. This implementation sets data-ds-focus.
Verification
Statically transcribed from the Lift sources (implementation, prop contract, usage note, accessibility contract). Keyboard, screen reader and contrast behaviour were not verified in a browser.
Source
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