We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

syncfusion trusted companies


The Angular Toast is a small, nonblocking notification pop-up. A toast is shown to users with readable message content at the bottom of the screen or at a specific target and disappears automatically after a few seconds (time-out) with different animation effects. The control has various built-in options for customizing visual elements, animations, durations, and dismissing toasts.

Interactive toasts

Users can create a more interactive toast message by configuring inputs and buttons on the notification pop-up that help them react quickly on notifications (for example, reply to a chat message directly from the toast pop-up).

Visual elements

A normal toast notification can be designed with clean reading content, and optional images, icons, inputs, and buttons. Users can load HTML content and change the content dynamically inside the toaster through templating.

Positioning notifications

The Angular toast notifications component is easily positioned wherever you want using built-in positions or custom axis values (X, Y).


Users can configure different animations to show or hide the toast, and can configure the animation duration based on the content length of the notification message and reading time.

Dismiss toasts

Users can dismiss all Angular toast notification messages through user input or time-outs. Or they can be dismissed by swiping or tapping on notifications.

Multiple notifications

Users can deal with multiple toast notifications that display sequence messages (queue up) within little duration. Also, users can change the order of a toast notification sequence to newest on top.

Toast message types

Users can easily design common Angular toast notifications using built-in classes such as alert, success, warning, information, and error.

Timing (duration)

The Angular toast notification component can be configured with a duration time for the complete message to be read in before it is hidden. You can extend the timeout dynamically after focusing on it.

Progress bar

Users can enable a progress bar inside the toast to track the progress of an operation and the expiration of a toast message.

Toast message validation

Users can validate duplicate toast notifications and allow only distinct toast messages on the screen. They can restrict the maximum number of toasts that are displayed. Also, users can prevent toast messages from hiding and make them stick with the screen.


  • Fully supports WAI-ARIA accessibility that makes toast accessible to on-screen readers and assistive devices.
  • Follows the WCG 2.0 standard in the design of the UI element visuals such as foreground color, background color, line spacing, text, and images.

Developer-friendly API

Developers can control the appearance and behaviors of the toast notification component, including its positioning, using a rich set of APIs.

Angular Toast Code Example

Easily get started with the Angular Toast using a few simple lines of HTML and TSX code as demonstrated below. Also explore our Angular Toast Example that shows you how to render and configure the Toast in Angular.

<div id="action-description">
        This sample demonstrates the basic layout of a <code>Toast</code> to show simple notification and hide them.
<div class="col-lg-12 control-section toast-default-section">
    <div class="e-sample-resize-container">
        <ejs-toast #defaulttoast id='defaulttoast' [position]="position" (created)="onCreate()"
            (close)="onClose($event)" icon="e-meeting" (beforeOpen)="onBeforeOpen()">
            <ng-template #content>
                <div>Conference Room 01 / Building 135 10:00 AM-10:30 AM</div>
            <ng-template #title>
                <div>Adaptive Tiles Meeting</div>
        <div class="col-lg-12 col-sm-12 col-md-12 center">
            <div id="toastBtnDefault" style="margin: auto;text-align: center">
                <button ejs-button #toastBtnShow class="e-btn" id="toastBtnShow" (click)='showToast()'>Show
                <button ejs-button #toastBtnHide class="e-btn" id="toastBtnHide" (click)='hideToast()'>Hide
import { Component, ViewEncapsulation, ViewChild, HostListener, ElementRef, Inject, Injector } from '@angular/core';
import { ToastComponent, ToastCloseArgs, ToastPositionModel } from '@syncfusion/ej2-angular-notifications';
import { ButtonComponent } from '@syncfusion/ej2-angular-buttons';
 *  Sample for Basic Toast
    selector: 'control-content',
    templateUrl: 'default.html',
    styleUrls: ['default.css'],
    encapsulation: ViewEncapsulation.None

export class DefaultController {

    public toastObj: ToastComponent;

    public btnEleHide: ButtonComponent;

    public btnEleShow: ButtonComponent;

    public position: ToastPositionModel = { X: "Right" };

    constructor(@Inject('sourceFiles') private sourceFiles: any) {
        sourceFiles.files = ['default.css'];

    public onCreate = (): void => {
        setTimeout((): void => {
        }, 200);

    public onClose = (e: ToastCloseArgs): void => {
        if (e.toastContainer.childElementCount === 0) {
            this.btnEleHide.element.style.display = 'none';

    public onBeforeOpen = (): void => {
        this.btnEleHide.element.style.display = 'inline-block';

    public showToast = (): void => {

    public hideToast = (): void => {

    @HostListener('document:click', ['$event'])
    documentClick = (e: MouseEvent): void => {
        if (e.target !== this.btnEleShow.element && this.toastObj.target === document.body) {

Other supported frameworks

Toast is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Toast platforms from the links below,


Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia


double quotes

We started using Syncfusion Angular controls for the Scheduler to offer our providers a way to schedule their availability and automate our administrative process to show availability and gaps in schedules. This helped us provide the best user experience and deliver care to our patients in a timely manner.
Tim Rankel

Tim Rankel

Senior Developer at MeMD

Transform your applications today by downloading our free evaluation version Download Free Trial


Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile