Skip to main content
Version: 2.0 (Latest)

basic

This page shows common real-world use cases for D9 Toast.

Default

toast("Default toast ...");

Click the button below to trigger a toast:

Success

toast.success("Profile updated successfully");

Click the button below to trigger a toast:

Error

toast.error("Something went wrong");

Click the button below to trigger a toast:

Info

toast.info("New update available");

Click the button below to trigger a toast:

Warning

toast.warning("Invalid user data");

Click the button below to trigger a toast: