Below are common examples which you can used in your application

Success

alert(['title' => 'Sample Title','text'  => 'A simple description','type'  => 'success']);

Error

 alert(['title' => 'Sample Title','text'  => 'A simple description','type'  => 'error']);

Warning

 alert(['title' => 'Sample Title','text'  => 'A simple description','type'  => 'warning']);

Info

alert(['title' => 'Sample Title', 'text'  => 'A simple description','type'  => 'info']);

Question

alert(['title' => 'Sample Title','text'  => 'A simple description','type'  => 'question']);

Toast

Below are the common toast examples

alert([ 
    'title'    => 'A sample title', 
    'toast'    => 'true',
    'type'     => 'success',
    'position' => 'top-end'
]);

type: "success" , "error" , "warning" , "info" , "question"

position: "top" , "top-start" , "top-end" , "center" , "center-start" , "center-end" , "bottom" , "bottom-start" , "bottom-end"