Toast
هذا المحتوى غير متوفر بلغتك بعد.
A toast confirms a result without taking focus: “Saved”, “Published”. It uses the same verb as the button that caused it. It never opens a modal, and anything the person must act on belongs in the page, not in a toast that disappears.
Behaviour
Section titled “Behaviour”Read from the component manifest, so this is the component’s own contract. See Overlays for layers, stacking and dismissal shared by all layers.
ToastProvider
Section titled “ToastProvider”| Stage | beta |
|---|---|
| Keyboard |
|
| Dismissal |
|
| Stacking | Above dialogs and popovers (z-toast); a toast never opens a modal, and a modal never waits on one. |
| Accessibility |
|
| Pattern | APG: alert |
| Docs | Storybook |
- المسؤول
- Okrado founders
- آخر تحديث
- تُراجَع قبل