/syncfusion-angular:syncfusion-angular-notificationsfrom Syncfusion Angular UI Components
Comprehensive guide for implementing Syncfusion Angular notification components including Message, Skeleton, Toast, and Badge. Use this when displaying informational, success, warning, or error alerts with severity levels, customizing message variants (Text, Outlined, Filled), handling close events, showing content skeletons with shimmer/pulse animations during data loading, or adding status badges with 8 color variants and shape types (circle, pill, notification, dot, overlap). Covers MessageModule, SkeletonModule, ToastModule, CSS-based Badge implementation, accessibility, RTL, and custom styling in Angular applications.
Ships in Syncfusion Angular UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion Angular Message component (ejs-message) displays contextual messages with severity-based icons and colors to communicate importance to the user. It supports multiple severity types, visual variants, close icon, custom templates, content alignment, CSS customization, and full accessibility compliance.
Package: @syncfusion/ej2-angular-notifications
Module: MessageModule
Selector: ejs-message
📋 All files linked under
references/are read-only documentation and comply with the same security policy as this skill.
📄 Read: references/message-getting-started.md
@syncfusion/ej2-angular-notifications via ng addMessageModule import in standalone componentejs-message template setup📄 Read: references/message-severities.md
severity property with all five values: Normal, Success, Info, Warning, Error📄 Read: references/message-variants.md
variant property: Text, Outlined, Filled📄 Read: references/message-icons.md
showIcon — hide/show the severity iconshowCloseIcon — add a close icon to dismiss messages(closed) event — react when user closes a messagevisible propertycssClass📄 Read: references/message-customization.md
e-content-center), right (e-content-right)cssClass<ng-template #content>📄 Read: references/message-accessibility.md
role=alert, aria-label)enableRtl📄 Read: references/message-api.md
content, cssClass, enablePersistence, enableRtl, locale, severity, showCloseIcon, showIcon, variant, visibledestroy(), getPersistData()closed, created, destroyedng add @syncfusion/ej2-angular-notifications
/* styles.css – added automatically by ng add */
/* NOTE: These are consumer-side stylesheet references only; no packages are installed or executed by this skill. */
@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-angular-notifications/styles/message/material3.css';
import { MessageModule } from '@syncfusion/ej2-angular-notifications';
import { Component } from '@angular/core';
@Component({
imports: [MessageModule],
standalone: true,
selector: 'app-root',
template: '<ejs-message content="Please read the comments carefully"></ejs-message>'
})
export class AppComponent { }
import { MessageModule } from '@syncfusion/ej2-angular-notifications';
import { Component } from '@angular/core';
@Component({
imports: [MessageModule],
standalone: true,
selector: 'app-root',
template: `
<ejs-message content="Editing is restricted"></ejs-message>
<ejs-message content="Please read the comments carefully" severity="Info"></ejs-message>
<ejs-message content="Your message has been sent successfully" severity="Success"></ejs-message>
<ejs-message content="There was a problem with your network connection" severity="Warning"></ejs-message>
<ejs-message content="A problem occurred while submitting your data" severity="Error"></ejs-message>
`
})
export class AppComponent { }
import { MessageModule } from '@syncfusion/ej2-angular-notifications';
import { Component, ViewChild } from '@angular/core';
import { MessageComponent } from '@syncfusion/ej2-angular-notifications';
@Component({
imports: [MessageModule],
standalone: true,
selector: 'app-root',
template: `
<ejs-message #msg severity="Warning" [showCloseIcon]="true" (closed)="onClosed()">
There was a problem with your network connection
</ejs-message>
<button *ngIf="isClosed" (click)="reopen()">Show again</button>
`
})
export class AppComponent {
@ViewChild('msg') msg!: MessageComponent;
isClosed = false;
onClosed(): void {
this.isClosed = true;
}
reopen(): void {
this.msg.visible = true;
this.isClosed = false;
}
}
import { MessageModule } from '@syncfusion/ej2-angular-notifications';
import { Component } from '@angular/core';
@Component({
imports: [MessageModule],
standalone: true,
selector: 'app-root',
template: `
<ejs-message content="Your message has been sent successfully"
severity="Success" variant="Filled">
</ejs-message>
`
})
export class AppComponent { }
| Property | Type | Default | Purpose |
|---|---|---|---|
content | string | object | null | Text, HTML, or template content to display |
severity | string | 'Normal' | Severity type: Normal, Success, Info, Warning, Error |
variant | string | 'Text' | Visual style: Text, Outlined, Filled |
showIcon | boolean | true | Show/hide the severity icon |
showCloseIcon | boolean | false | Show/hide the close icon |
visible | boolean | true | Show or hide the entire message |
cssClass | string | '' | Custom CSS class(es) appended to root element |
enableRtl | boolean | false | Right-to-left rendering |
enablePersistence | boolean | false | Persist component state across page reloads |
locale | string | '' | Override global culture/localization |
The Skeleton component provides a visual placeholder for content that is loading or yet to be rendered. It helps improve perceived performance by showing users what content is coming, reducing cognitive load during loading states.
Package: @syncfusion/ej2-angular-notifications
Module: SkeletonModule
Selector: ejs-skeleton
📋 All files linked under
references/are read-only documentation and comply with the same security policy as this skill.
📄 Read: references/skeleton-getting-started.md
📄 Read: references/skeleton-shapes.md
📄 Read: references/skeleton-shimmer-effects.md
📄 Read: references/skeleton-styles-customization.md
📄 Read: references/skeleton-accessibility.md
📄 Read: references/skeleton-api.md
import { Component } from '@angular/core';
import { SkeletonModule } from '@syncfusion/ej2-angular-notifications';
@Component({
imports: [SkeletonModule],
standalone: true,
selector: 'app-root',
template: `
<div>
<h2>Loading User Profile...</h2>
<!-- Avatar skeleton -->
<ejs-skeleton shape="Circle" width="60px"></ejs-skeleton>
<!-- Name and description skeletons -->
<ejs-skeleton width="30%" height="15px"></ejs-skeleton>
<ejs-skeleton width="50%" height="15px"></ejs-skeleton>
<!-- Content skeleton -->
<ejs-skeleton shape="Rectangle" width="100%" height="150px"></ejs-skeleton>
</div>
`
})
export class AppComponent {}
Display a skeleton layout matching a card component during data loading:
@Component({
selector: 'app-card-skeleton',
template: `
<div class='card-skeleton'>
<!-- Avatar -->
<div class='avatar-section'>
<ejs-skeleton shape="Circle" width="50px"></ejs-skeleton>
</div>
<!-- Content -->
<div class='content-section'>
<ejs-skeleton width="60%" height="12px"></ejs-skeleton>
<ejs-skeleton width="40%" height="12px"></ejs-skeleton>
<ejs-skeleton width="100%" height="80px"></ejs-skeleton>
</div>
<!-- Actions -->
<div class='action-section'>
<ejs-skeleton shape="Rectangle" width="30%" height="36px"></ejs-skeleton>
</div>
</div>
`
})
export class CardSkeletonComponent {}
Show multiple skeleton rows with a pulsing shimmer effect:
@Component({
selector: 'app-list-skeleton',
template: `
<div class='list-skeleton'>
<div class='list-item' *ngFor="let item of [1,2,3,4,5]">
<ejs-skeleton shape="Circle" width="40px" shimmerEffect="Pulse"></ejs-skeleton>
<div class='item-content'>
<ejs-skeleton width="50%" height="14px" shimmerEffect="Pulse"></ejs-skeleton>
<ejs-skeleton width="30%" height="12px" shimmerEffect="Pulse"></ejs-skeleton>
</div>
</div>
</div>
`
})
export class ListSkeletonComponent {}
Show skeleton while loading, hide when content is ready:
@Component({
selector: 'app-conditional-skeleton',
template: `
<!-- Show skeleton while loading -->
<div *ngIf="isLoading">
<ejs-skeleton shape="Rectangle" width="100%" height="200px"
shimmerEffect="Wave"></ejs-skeleton>
</div>
<!-- Show content when loaded -->
<div *ngIf="!isLoading">
<img [src]="imageUrl" alt="Loaded content">
</div>
`
})
export class ConditionalSkeletonComponent {
isLoading = true;
imageUrl = '';
ngOnInit() {
// Simulate loading
setTimeout(() => {
this.isLoading = false;
this.imageUrl = 'assets/image.jpg';
}, 2000);
}
}
| Property | Type | Default | Purpose |
|---|---|---|---|
shape | SkeletonType | 'Text' | Defines skeleton shape: Text, Circle, Square, Rectangle |
shimmerEffect | ShimmerEffect | 'Wave' | Animation effect: Wave, Pulse, Fade |
width | string | number | '' | Skeleton width (required for Circle/Square) |
height | string | number | '' | Skeleton height |
visible | boolean | true | Controls skeleton visibility |
cssClass | string | '' | Custom CSS class for styling |
label | string | 'Loading…' | Aria-label for accessibility |
enableRtl | boolean | false | Enable right-to-left layout |
enablePersistence | boolean | false | Persist state between page reloads |
The Syncfusion Angular Toast (ejs-toast) is a non-blocking notification component that displays brief messages at a defined position on the screen. Toasts auto-dismiss after a configurable timeout and support rich content via templates, action buttons, icons, and progress bars.
📄 Read: references/getting-started.md
@syncfusion/ej2-angular-notifications📄 Read: references/configuration.md
showCloseButton)showProgressBar, progressDirection)newestOnTop)icon propertycssClass for semantic types (e-success, e-info, e-warning, e-danger)enableHtmlSanitizer, enableRtl, locale📄 Read: references/position-and-animation.md
show/hide effects, duration, easing)📄 Read: references/template-and-buttons.md
ng-template with #template, #title, #contentshow() method argumentsbuttons property and click handlersButtonModelPropsModel configuration📄 Read: references/timeout-and-events.md
timeOut property (default 5000ms)extendedTimeout on hover (default 1000ms)created, open, close, click, beforeOpen, beforeClose, beforeSanitizeHtml, destroyed📄 Read: references/toast-utility.md
ToastUtility.show() for minimal-code toastsToastModel argument usage with events and positioning📄 Read: references/how-to.md
ng-template in toast📄 Read: references/api.md
show(), hide(), destroy()ToastAnimationSettingsModel, ToastPositionModel, ButtonModelPropsModel// app.ts (Angular standalone)
import { Component, ViewChild } from '@angular/core';
import { ToastModule } from '@syncfusion/ej2-angular-notifications';
@Component({
imports: [ToastModule],
standalone: true,
selector: 'app-root',
template: `
<ejs-toast #toast (created)="onCreated()">
<ng-template #title><div>Notification</div></ng-template>
<ng-template #content><div>Your action was successful.</div></ng-template>
</ejs-toast>
<button (click)="toast.show()">Show Toast</button>
`
})
export class App {
@ViewChild('toast') toast: any;
onCreated() { this.toast.show(); }
}
Install:
ng add @syncfusion/ej2-angular-notifications
CSS (styles.css):
@import '@syncfusion/ej2-base/styles/material3.css';
@import '@syncfusion/ej2-buttons/styles/material3.css';
@import '@syncfusion/ej2-popups/styles/material3.css';
@import '@syncfusion/ej2-angular-notifications/styles/material3.css';
// Using cssClass for semantic coloring
toastObj.show({ content: 'File saved!', cssClass: 'e-toast-success' });
toastObj.show({ content: 'Upload failed.', cssClass: 'e-toast-danger' });
toastObj.show({ content: 'Low disk space.', cssClass: 'e-toast-warning' });
toastObj.show({ content: 'Update available.', cssClass: 'e-toast-info' });
import { ToastUtility } from '@syncfusion/ej2-angular-notifications';
ToastUtility.show('Operation successful', 'Success', 3000);
<ejs-toast [showProgressBar]="true" [showCloseButton]="true" [timeOut]="4000">
</ejs-toast>
public position = { X: 'Center', Y: 'Bottom' };
<ejs-toast [position]="position"></ejs-toast>
public buttons = [
{ model: { content: 'Undo' }, click: () => this.onUndo() },
{ model: { content: 'Dismiss' } }
];
<ejs-toast [timeOut]="0" [showCloseButton]="true"></ejs-toast>
| Property | Type | Default | Purpose |
|---|---|---|---|
title | any | null | Toast heading text or HTML |
content | any | null | Toast body text or HTML |
timeOut | number | 5000 | Auto-dismiss after ms (0 = static) |
position | ToastPositionModel | {X:'Left',Y:'Top'} | Screen position |
showCloseButton | boolean | false | Show × dismiss button |
showProgressBar | boolean | false | Show countdown progress bar |
progressDirection | string | 'Rtl' | Progress bar direction (Ltr/Rtl) |
newestOnTop | boolean | true | Insert new toasts before old ones |
cssClass | string | null | Custom CSS classes |
icon | string | null | CSS class for top-left icon |
target | string/Element | null | Container element (default: body) |
width | string/number | '300' | Toast width |
height | string/number | 'auto' | Toast height |
buttons | ButtonModelPropsModel[] | [{}] | Action buttons |
animation | ToastAnimationSettingsModel | FadeIn/FadeOut | Show/hide animation |
extendedTimeout | number | 1000 | Extra time on hover |
enableRtl | boolean | false | Right-to-left rendering |
| Scenario | Approach |
|---|---|
| Simple one-liner notification | Use ToastUtility.show() |
| Typed notification (success/error) | cssClass: 'e-toast-success' or ToastUtility.show(..., 'Success', ...) |
| Notification requiring user action | Add buttons array with click handlers |
| Persistent alert until dismissed | Set timeOut: 0 + showCloseButton: true |
| Multiple simultaneous toasts | Use separate ejs-toast instances with different target containers |
| Notification in custom container | Set target property to element reference or selector |
| Prevent duplicate messages | Cancel in beforeOpen event if same title already visible |
| Mobile-friendly (no swipe dismiss) | Cancel beforeClose when args.type === 'swipe' |
| Progress indicator | showProgressBar: true, customize via beforeOpen event |
The Syncfusion Angular Badge is a pure CSS component — no Angular component class to import. Badges are applied by adding CSS modifier classes to a <span> (or <a>) element nested inside the target UI element.
Package: @syncfusion/ej2-angular-notifications
📄 Read: references/getting-started.md
📄 Read: references/types-and-shapes.md
📄 Read: references/customization.md
font-size📄 Read: references/how-to.md
1. Install the package:
npm install @syncfusion/ej2-angular-notifications --save
2. Add CSS to src/styles.css:
@import "../node_modules/@syncfusion/ej2-base/styles/tailwind3.css";
@import "../node_modules/@syncfusion/ej2-notifications/styles/tailwind3.css";
3. Add a badge in your component:
<!-- src/app/app.component.html -->
<h1>Badge Component <span class="e-badge e-badge-primary">New</span></h1>
<!-- Parent must have position: relative -->
<div class="badge-block">
<div class="skype svg_icons"></div>
<span class="e-badge e-badge-success e-badge-overlap e-badge-notification">99+</span>
</div>
<div class="badge-block">
<div class="firefox svg_icons"></div>
<span class="e-badge e-badge-success e-badge-overlap e-badge-dot e-badge-bottom"></span>
</div>
<h1>Messages <span class="e-badge e-badge-primary e-badge-pill">New</span></h1>
| Class | Purpose |
|---|---|
e-badge | Required base class for all badges |
e-badge-primary / e-badge-{color} | Color variant |
e-badge-pill | Pill (rounded rectangle) shape |
e-badge-circle | Circle shape |
e-badge-notification | Notification counter badge |
e-badge-dot | Minimalist dot badge (no text) |
e-badge-overlap | Overlaps the parent element edge |
e-badge-bottom | Positions badge at bottom instead of top |
references/badge-customization.md (opens in a new tab)references/badge-getting-started.md (opens in a new tab)references/badge-how-to.md (opens in a new tab)references/badge-types-and-shapes.md (opens in a new tab)references/message-accessibility.md (opens in a new tab)references/message-api.md (opens in a new tab)references/message-customization.md (opens in a new tab)references/message-getting-started.md (opens in a new tab)references/message-icons.md (opens in a new tab)references/message-severities.md (opens in a new tab)references/message-variants.md (opens in a new tab)references/skeleton-accessibility.md (opens in a new tab)references/skeleton-api.md (opens in a new tab)references/skeleton-getting-started.md (opens in a new tab)references/skeleton-shapes.md (opens in a new tab)references/skeleton-shimmer-effects.md (opens in a new tab)references/skeleton-styles-customization.md (opens in a new tab)references/toast-api.md (opens in a new tab)references/toast-configuration.md (opens in a new tab)references/toast-getting-started.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angular65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.Other plugins' skills for the same job