Feedback

Toaster

Render and organize application notifications in one region.

Basic usage

Create a store with createToaster and mount one Toaster for it. Set placement and limits on the store. Each invitation adds a notification, and the store shows up to two at a time.

API

Key props and defaults.

PropValues and behaviorDefault
toasterToasterStorerequired
variantsoft, outlinesoft
showIconbooleantrue
labelstring—
mountHTMLElementdocument body
childrennotification render callbackdefault notification