Feedback
Toast
semantic HTML비차단 알림을 순서대로 표시합니다.
Live example
<button type="button" data-example-action="show-toast">Show toast</button><section data-standard-component="toast-stack" class="standard-toast-stack" aria-live="polite"><article role="status">Notifications appear here after an action.</article></section>Variants and sizes
The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.
compactcomfortableroomy
Public API
| Contract | Value |
|---|---|
| Implementation | semantic HTML |
| Status | stable |
| License | free |
| Since | 0.2 |
| HTML contract | Native HTML elements and attributes |
| Events | Native browser events |
Accessibility
polite live region을 사용하되 danger 알림만 alert로 안내하고 제거된 stack의 타이머를 정리합니다.
Server template guidance
<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->