Toaster (recommended)
Mount once in the app shell; pushToast() queues notifications shown here (bottom-right).
Triggers below call pushToast(). The live region is fixed bottom-right (same as a
real app).
Toast atom — inline
Use layout="inline" for docs and embedded UI; default layout="viewport" pins a single toast to the corner.
Same surface as viewport toasts, but layout="inline" keeps it in the document flow for docs and previews.
Semantic types
type sets border and text: success, error, warning, or info.
The type prop maps to semantic border and text colors.