Skip to content
Stacked toasts, light
Light
Stacked toasts, dark
Dark

Every state

  • Stacked toasts, default, light
    Stacked toasts, default, dark

    default

  • Stacked toasts, expanded, light
    Stacked toasts, expanded, dark

    expanded

  • Stacked toasts, dismissed, light
    Stacked toasts, dismissed, dark

    dismissed

  • Stacked toasts, single, light
    Stacked toasts, single, dark

    single

  • Stacked toasts, focus, light
    Stacked toasts, focus, dark

    focus

Props

PropTypeDefaultWhat it does
idstring"toast-stack"unique on the page; each toast's ids hang off it.
labelstring"Notifications"what the stack is called for screen readers.
toastsToastStackItem[]–controlled list, newest first; leave it out to let the stack manage itself.
defaultToastsToastStackItem[]exampleToastsDefault toasts.
onToastsChange(toasts: ToastStackItem[]) => void–On toasts change.
onDismiss(id: string) => void–On dismiss.
visiblenumber3how many toasts show behind the front one while collapsed.
inlinebooleanfalsedraws the stack in place instead of in the fixed bottom-right viewport.
classNamestring–Class name.

More toasts

All 7

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans