skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
syncfusion/javascript-ui-controls-skills47 installs

syncfusion-javascript-notifications

Comprehensive guide for implementing Syncfusion EJ2 JavaScript Notification components including Message, Skeleton, and Toast. Use this when displaying contextual messages with severity indicators (Normal, Success, Info, Warning, Error) and display variants (Text, Outlined, Filled); creating animated loading placeholders with shapes (Circle, Square, Rectangle, Text) and shimmer effects (Wave, Pulse, Fade); configuring toast notifications with positioning, animations, templates, and dismissal patterns; or customizing notification appearance and accessibility.

How do I install this agent skill?

npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-notifications
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides official documentation and implementation guides for Syncfusion notification UI components. The analysis identifies a potential surface for indirect prompt injection as these components are designed to display external data, and notes the standard installation of vendor-owned packages.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Syncfusion EJ2 JavaScript Notifications

Overview

The Syncfusion EJ2 JavaScript Notifications library provides three essential UI components for building interactive user feedback systems. Each component is fully documented with TypeScript/JavaScript examples, accessibility guidelines, and common usage patterns.

All components support:

  • Accessibility: WCAG 2.2 Level AA, Section 508, ADA compliance
  • Themes: Material 3, Bootstrap 5, Fluent, Tailwind 3, Fabric
  • APIs: Imperative TypeScript/JavaScript with full event support
  • Keyboard: Full keyboard navigation and interaction

Component Overview

Quick Navigation

ComponentPurposePackageFiles
MessageContextual message with severity indicatorsej2-notifications7
SkeletonAnimated loading placeholderej2-notifications6
ToastBrief auto-dismissing notificationej2-notifications9

Package: @syncfusion/ej2-notifications


Message Component

Purpose: Displays contextual messages with visual severity indicators (icons and colors) to communicate importance and context to end users. Supports five severity levels, three visual variants, close-icon dismissal, custom templates, and full accessibility compliance.

Package: @syncfusion/ej2-notifications

Quick Example

import { Message } from '@syncfusion/ej2-notifications';

let msg: Message = new Message({
  content: 'Please read the comments carefully',
  severity: 'Info'
});
msg.appendTo('#msg');

Documentation


Skeleton Component

Purpose: Renders animated placeholder shapes that mimic the layout of loading content. Reduces perceived load time and communicates progress to users with configurable shapes, shimmer animations, and full accessibility support.

Package: @syncfusion/ej2-notifications

Quick Example

import { Skeleton } from '@syncfusion/ej2-notifications';

let skeleton: Skeleton = new Skeleton({
  shape: 'Circle',
  width: '48px'
});
skeleton.appendTo('#skeleton');

Documentation


Toast Component

Purpose: Displays brief, non-intrusive notifications that auto-dismiss after a configurable timeout. Supports rich content through templates, action buttons, animated entry/exit, precise positioning, and programmatic control via ToastUtility.

Package: @syncfusion/ej2-notifications

Quick Example

import { Toast } from '@syncfusion/ej2-notifications';

let toastObj: Toast = new Toast({
  title: 'Success!',
  content: 'Your changes have been saved.',
  position: { X: 'Right', Y: 'Bottom' },
  timeOut: 4000,
  showCloseButton: true
});
toastObj.appendTo('#toast');
toastObj.show();

Quick Utility Toast (No Component Needed)

import { ToastUtility } from '@syncfusion/ej2-notifications';

// Show a success toast instantly
ToastUtility.show('File saved successfully', 'Success', 3000);

// Show an error toast
ToastUtility.show('Connection failed', 'Error', 5000);

Documentation


Installation and Setup

Install the Package

npm install @syncfusion/ej2-notifications@33.x.x --save
npm audit

Add CSS Theme Imports

/* src/styles.css */
@import '../node_modules/@syncfusion/ej2-base/styles/tailwind3.css';
@import '../node_modules/@syncfusion/ej2-notifications/styles/tailwind3.css';

Other available themes: material.css, bootstrap5.css, fluent.css, fabric.css


Common Patterns

Semantic Type Messages

Use severity property with Normal, Success, Info, Warning, or Error for visual differentiation.

let msg: Message = new Message({
  content: 'Operation completed',
  severity: 'Success',
  variant: 'Outlined'
});
msg.appendTo('#msg');

Dismissible Messages

Set showCloseIcon: true and showCloseButton: true (for Toast) to let users manually dismiss notifications.

let toastObj: Toast = new Toast({
  content: 'Your session will expire soon',
  showCloseButton: true,
  timeOut: 0
});
toastObj.appendTo('#toast');
toastObj.show();

Loading States with Skeleton

Display skeleton placeholders during content loading, then hide them when content is ready.

let skeleton: Skeleton = new Skeleton({
  shape: 'Rectangle',
  width: '100%',
  height: '200px',
  shimmerEffect: 'Pulse'
});
skeleton.appendTo('#skeleton');

Static/Persistent Toasts

Set timeOut: 0 with showCloseButton: true for notifications users must explicitly dismiss.

let toastObj: Toast = new Toast({
  content: 'Please review and confirm',
  timeOut: 0,
  showCloseButton: true
});
toastObj.appendTo('#toast');
toastObj.show();

Action-Required Toasts

Use the buttons property to add Ignore/Confirm/Undo buttons.

let toastObj: Toast = new Toast({
  content: 'Delete this file?',
  buttons: [{
    model: { content: 'Yes' },
    click: () => { /* handle yes */ }
  }, {
    model: { content: 'No' },
    click: () => toastObj.hide()
  }]
});
toastObj.appendTo('#toast');
toastObj.show();

Multiple Toast Positions

Display different toast instances at different screen positions.

let topToast: Toast = new Toast({
  content: 'Top notification',
  position: { X: 'Center', Y: 'Top' }
});
topToast.appendTo('#top-toast');
topToast.show();

Theme Support

All notification components support the following themes:

ThemeCSS File
Material 3material.css
Bootstrap 5bootstrap5.css
Fluentfluent.css
Tailwind 3tailwind3.css
Fabricfabric.css

Example import for different themes:

/* Material 3 */
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
@import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';

/* Bootstrap 5 */
@import '../node_modules/@syncfusion/ej2-base/styles/bootstrap5.css';
@import '../node_modules/@syncfusion/ej2-notifications/styles/bootstrap5.css';

Accessibility

All notification components comply with WCAG 2.2 Level AA, Section 508, and ADA standards.

Message Accessibility

  • WAI-ARIA attributes (role=alert, aria-label)
  • Keyboard navigation (Tab, Enter/Space)
  • Screen reader support

Skeleton Accessibility

  • WAI-ARIA attributes: role="status", aria-label, aria-live, aria-busy
  • label property for accessible skeleton names
  • prefers-reduced-motion respect

Toast Accessibility

  • WAI-ARIA: role="alert", aria-live="assertive", aria-label
  • Screen reader support (JAWS, NVDA, VoiceOver)
  • RTL support via enableRtl
  • Mobile and accessibility checker validation

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • Internet Explorer 11 (with polyfills)

Version Compatibility

Syncfusion EJ2 VersionStatus
33.x.xCurrent (Recommended)
32.x.xSupported
31.x.xSupported
< 30.x.xLegacy

Additional Resources


Quick Reference

NeedComponentProperty
Show success messageMessageseverity: 'Success'
Show warning with closeMessageseverity: 'Warning', showCloseIcon: true
Loading placeholderSkeletonshape: 'Rectangle'
Avatar placeholderSkeletonshape: 'Circle', width: '48px'
Quick notificationToastToastUtility.show()
Persistent notificationToasttimeOut: 0, showCloseButton: true
Action confirmationToastbuttons: [...]
Bottom-right toastToastposition: { X: 'Right', Y: 'Bottom' }

Status: ✅ Production Ready
Quality Rating: 9+/10 (Professional Grade)
Coverage: 3 components, 22 reference files

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/syncfusion/javascript-ui-controls-skills/syncfusion-javascript-notifications">View syncfusion-javascript-notifications on skillZs</a>