/syncfusion-vue:syncfusion-vue-notificationsfrom Syncfusion Vue UI Components
Comprehensive guide for implementing Syncfusion Vue 3 Notification components including Badge, Message, Skeleton, Toast, and Spinner. Use this when applying status indicators and badges with color variants and shapes; showing informational, success, warning, or error messages; configuring severity levels and display variants (Text, Outlined, Filled); handling message dismissal; toast positioning, toast templates, toast animations; displaying skeleton loading placeholders with shimmer animations (Wave, Pulse, Fade) and shapes (Circle, Rectangle, Text); or customizing notification appearance and accessibility in Vue 3 applications.
Ships in Syncfusion Vue 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 Vue 3 Toast component displays brief, non-intrusive notifications that auto-dismiss after a configurable timeout. Toasts support rich content through templates, action buttons, animated entry/exit, precise positioning, and programmatic control via ToastUtility.
🛑 Agentic use: Do not execute multiple steps autonomously. Confirm with the user before each action (install, run, file creation).
📄 Read: references/toast-getting-started.md
@syncfusion/ej2-vue-notifications 🛑 STOP — Do not install packages autonomously. Ask the user to run: npm install @syncfusion/ej2-vue-notifications. Verify with npm auditToastComponent usage with Composition API (template ref + created event)created event📄 Read: references/toast-configuration.md
title and content (plain text, HTML, Vue slots)target container for scoped notificationsshowCloseButton for manual dismissalshowProgressBar and progressDirection (Ltr / Rtl)newestOnTop stacking orderwidth and height dimensions (px, %, auto)📄 Read: references/toast-position.md
📄 Read: references/toast-timeout-and-dismissal.md
timeOut property (default 5000 ms)extendedTimeout on hover (default 1000 ms)timeOut: 0clickToClose in the click eventbeforeClose📄 Read: references/toast-templates-and-styling.md
#template Vue slot for fully custom layoutsshow() call timee-toast-success, e-toast-info, e-toast-warning, e-toast-danger📄 Read: references/toast-animation.md
animation property with show and hide effect settings📄 Read: references/toast-services.md
ToastUtility.show() for quick toasts without component instantiationInformation, Success, Error, WarningToastModel to ToastUtility.show()beforeOpenbeforeOpenbeforeOpen + close📄 Read: references/toast-accessibility.md
role="alert", aria-live="assertive", aria-labelenableRtl📄 Read: references/toast-api.md
show() and hide() method signaturesbeforeOpen, open, click, beforeClose, close, created, destroyed, beforeSanitizeHtml🛑 STOP — Do not start the dev server autonomously. Ask the user to run:
npm run devafter setup.
<template>
<div>
<button @click="showToast">Show Toast</button>
<ToastComponent
ref="toastRef"
title="Success!"
content="Your changes have been saved."
cssClass="e-toast-success"
:position="position"
:timeOut="4000"
:showProgressBar="true"
:showCloseButton="true"
/>
</div>
</template>
<script setup>
import { ref, reactive } from 'vue';
import { ToastComponent } from '@syncfusion/ej2-vue-notifications';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-notifications/styles/tailwind3.css';
const toastRef = ref(null);
const position = reactive({ X: 'Right', Y: 'Bottom' });
const showToast = () => {
toastRef.value?.show();
};
</script>
import { ToastUtility } from '@syncfusion/ej2-vue-notifications';
// Show a success toast instantly
ToastUtility.show('File saved successfully', 'Success', 3000);
// Show an error toast
ToastUtility.show('Connection failed', 'Error', 5000);
ToastUtilityworks in any Vue composable, store action, or.tsmodule — no component ref or template needed. This replaces the React pattern of importingToastUtilityfrom the React package.
Use cssClass with e-toast-success, e-toast-info, e-toast-warning, e-toast-danger for visual differentiation — see references/toast-templates-and-styling.md.
Set :timeOut="0" with :showCloseButton="true" for notifications users must explicitly dismiss — see references/toast-timeout-and-dismissal.md.
Use the buttons property to add Ignore/Confirm/Undo buttons — see references/toast-configuration.md.
Use the beforeOpen event to cancel duplicate toasts already on screen — see references/toast-services.md.
Cap simultaneous toasts at N using beforeOpen and element.childElementCount — see references/toast-services.md.
The Syncfusion Vue 3 MessageComponent displays contextual messages with visual severity indicators—icons and colors—to communicate importance and context to end users. It supports five severity levels, three visual variants, close-icon dismissal, custom templates via Vue slots, and full accessibility compliance.
🛑 Agentic use: Do not execute multiple steps autonomously. Confirm with the user before each action (install, run, file creation).
📄 Read: references/message-getting-started.md
@syncfusion/ej2-vue-notifications 🛑 STOP — Do not install packages autonomously. Ask the user to run: npm install @syncfusion/ej2-vue-notifications. Verify with npm auditMessageComponentcontent prop, default slot, or string children📄 Read: references/message-severities.md
severity prop usage and valid valuesref / computed📄 Read: references/message-variants.md
variant prop usage📄 Read: references/message-icons-and-close.md
:showIcon prop (default true)cssClass CSS overrides:showCloseIcon prop (default false)@closed event handler for dismiss callbacksvisible propv-if with visible for full mount/display control📄 Read: references/message-customization.md
e-content-center), right (e-content-right)cssClass:enableRtl:enablePersistence📄 Read: references/message-accessibility.md
role="alert", aria-label)📄 Read: references/message-api.md
destroy, getPersistData@closed, @created, @destroyedMessageCloseEventArgs interfaceSeverity and Variant enum values🛑 STOP — Do not start the dev server autonomously. Ask the user to run:
npm run devafter setup.
npm install @syncfusion/ej2-vue-notifications
npm audit
// src/main.ts
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-notifications/styles/tailwind3.css';
<template>
<MessageComponent content="Please read the comments carefully" />
</template>
<script setup>
import { MessageComponent } from '@syncfusion/ej2-vue-notifications';
</script>
<template>
<MessageComponent content="Editing is restricted" />
<MessageComponent content="Operation completed" severity="Success" />
<MessageComponent content="Read these notes" severity="Info" />
<MessageComponent content="Check your connection" severity="Warning" />
<MessageComponent content="Submission failed" severity="Error" />
</template>
<script setup>
import { MessageComponent } from '@syncfusion/ej2-vue-notifications';
</script>
<template>
<MessageComponent content="Editing is restricted" variant="Filled" />
<MessageComponent content="Operation completed" severity="Success" variant="Outlined" />
<MessageComponent content="Submission failed" severity="Error" variant="Filled" />
</template>
<script setup>
import { MessageComponent } from '@syncfusion/ej2-vue-notifications';
</script>
<template>
<MessageComponent
v-if="visible"
content="Your session will expire soon"
severity="Warning"
:showCloseIcon="true"
:visible="visible"
@closed="visible = false"
/>
</template>
<script setup>
import { ref } from 'vue';
import { MessageComponent } from '@syncfusion/ej2-vue-notifications';
const visible = ref(true);
</script>
In Vue 3, the
@closedevent replaces React'sclosed={…}callback prop. The handler updates a localrefand thev-ifremoves the component from the DOM.
<template>
<MessageComponent v-if="visible" severity="Success" @closed="visible = false">
<div>
<h4>Build succeeded</h4>
<p>All 42 tests passed.</p>
</div>
</MessageComponent>
</template>
<script setup>
import { ref } from 'vue';
import { MessageComponent } from '@syncfusion/ej2-vue-notifications';
const visible = ref(true);
</script>
The Syncfusion Vue 3 SkeletonComponent renders animated placeholder shapes that mimic the layout of loading content. It reduces perceived load time and communicates progress to users with configurable shapes, shimmer animations, and full accessibility support.
Package: @syncfusion/ej2-vue-notifications
🛑 Agentic use: Do not execute multiple steps autonomously. Confirm with the user before each action (install, run, file creation).
📄 Read: references/skeleton-getting-started.md
@syncfusion/ej2-vue-notifications 🛑 STOP — Do not install packages autonomously. Ask the user to run: npm install @syncfusion/ej2-vue-notifications. Verify with npm auditSkeletonComponent setup with height and width📄 Read: references/skeleton-shapes.md
shape prop: "Circle", "Square", "Rectangle", "Text" (default)📄 Read: references/skeleton-shimmer-effect.md
shimmerEffect prop: "Wave" (default), "Pulse", "Fade"📄 Read: references/skeleton-styles.md
cssClass prop for custom CSS overrides (wave color, background, animation speed):visible prop to toggle skeleton on/off based on loading statev-if / v-else📄 Read: references/skeleton-accessibility.md
role="status", aria-label, aria-live, aria-busylabel prop for accessible skeleton names:enableRtlprefers-reduced-motion respect📄 Read: references/skeleton-api.md
cssClass, enablePersistence, enableRtl, height, label, locale, shape, shimmerEffect, visible, widthdestroy()SkeletonType and ShimmerEffect enum values🛑 STOP — Do not start the dev server autonomously. Ask the user to run:
npm run devafter setup.
npm install @syncfusion/ej2-vue-notifications
npm audit
// src/main.ts
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-notifications/styles/tailwind3.css';
<template>
<SkeletonComponent height="15px" width="100%" />
</template>
<script setup>
import { SkeletonComponent } from '@syncfusion/ej2-vue-notifications';
</script>
<template>
<div class="profile-skeleton">
<SkeletonComponent shape="Circle" width="48px" />
<div class="profile-text">
<SkeletonComponent width="60%" height="15px" />
<br />
<SkeletonComponent width="40%" height="12px" />
</div>
</div>
</template>
<script setup>
import { SkeletonComponent } from '@syncfusion/ej2-vue-notifications';
</script>
<style scoped>
.profile-skeleton {
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
}
.profile-text {
flex: 1;
}
</style>
<template>
<div>
<template v-if="loading">
<SkeletonComponent width="80%" height="20px" />
</template>
<template v-else>
<p>{{ content }}</p>
</template>
</div>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import { SkeletonComponent } from '@syncfusion/ej2-vue-notifications';
const loading = ref(true);
const content = ref('');
onMounted(() => {
setTimeout(() => {
content.value = 'Data loaded successfully';
loading.value = false;
}, 2000);
});
</script>
Vue 3's
onMountedlifecycle hook replaces React'suseEffect(..., []). Therefandv-ifcombo drives the conditional render.
<template>
<ul class="list-skeleton">
<li v-for="i in 3" :key="i" class="list-item">
<SkeletonComponent shape="Circle" width="40px" shimmerEffect="Pulse" />
<div class="text-block">
<SkeletonComponent width="70%" height="14px" shimmerEffect="Pulse" />
<br />
<SkeletonComponent width="45%" height="12px" shimmerEffect="Pulse" />
</div>
</li>
</ul>
</template>
<script setup>
import { SkeletonComponent } from '@syncfusion/ej2-vue-notifications';
</script>
<style scoped>
.list-skeleton { list-style: none; padding: 0; }
.list-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: center; }
.text-block { flex: 1; }
</style>
| Prop | Type | Default | Purpose |
|---|---|---|---|
shape | 'Text' | 'Circle' | 'Square' | 'Rectangle' | 'Text' | Skeleton shape variant |
width | string | number | '' | Width; required for Circle/Square |
height | string | number | '' | Height; used for Rectangle/Text |
shimmerEffect | 'Wave' | 'Pulse' | 'Fade' | 'Wave' | Animation style |
visible | boolean | true | Show/hide skeleton |
cssClass | string | '' | Custom CSS class(es) |
label | string | 'Loading…' | ARIA label for accessibility |
enableRtl | boolean | false | Right-to-left rendering |
enablePersistence | boolean | false | Persist state across reloads |
A skill for implementing the Syncfusion Vue 3 Spinner — a load indicator that blocks user interaction with a target element while an operation is in progress.
🛑 Agentic use: Do not execute multiple steps autonomously. Confirm with the user before each action (install, run, file creation).
📄 Read: references/spinner-getting-started.md
npm install @syncfusion/ej2-vue-popups. Verify with npm auditcreateSpinner → showSpinner workflow in onMounted📄 Read: references/spinner-features.md
setSpinnerSpinnerType values (Material, Bootstrap5, Fluent2, etc.)width propertytry/finally cleanup📄 Read: references/spinner-api.md
createSpinner(args: SpinnerArgs) — full signature and paramsshowSpinner(container: HTMLElement) — signaturehideSpinner(container: HTMLElement) — signaturesetSpinner(args: SetSpinnerArgs) — signatureSpinnerArgs interface (target, width, label, cssClass, template, type)SetSpinnerArgs interface (template, cssClass, type)SpinnerType values📄 Read: references/spinner-customization.md
cssClass for CSS hook customizationwidth for spinner icon sizingtemplate for custom HTML animationssetSpinner for global defaults📄 Read: references/spinner-accessibility.md
aria-busy on the loading regionaria-live region for screen reader announcementstype: 'HighContrast' for high contrast displays🛑 STOP — Do not start the dev server autonomously. Ask the user to run:
npm run devafter setup.
<template>
<div ref="containerRef" class="spinner-container" />
</template>
<script setup>
import { ref, onMounted } from 'vue';
import { createSpinner, showSpinner } from '@syncfusion/ej2-vue-popups';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-popups/styles/tailwind3.css';
const containerRef = ref(null);
onMounted(() => {
createSpinner({
target: containerRef.value
});
showSpinner(containerRef.value);
});
</script>
<style scoped>
.spinner-container { height: 200px; }
</style>
<template>
<div>
<button :disabled="loading" @click="load">Load Data</button>
<div ref="ref" class="spinner-target" />
</div>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-vue-popups';
const ref = ref(null);
const loading = ref(false);
onMounted(() => {
if (ref.value) {
createSpinner({ target: ref.value, label: 'Loading...' });
}
});
const load = async () => {
loading.value = true;
showSpinner(ref.value);
try {
await fetchData();
} finally {
hideSpinner(ref.value);
loading.value = false;
}
};
async function fetchData() {
return new Promise(resolve => setTimeout(resolve, 2000));
}
</script>
<style scoped>
.spinner-target { height: 200px; position: relative; }
</style>
// src/main.ts
import { setSpinner } from '@syncfusion/ej2-vue-popups';
// Call BEFORE any createSpinner — sets global default type
setSpinner({ type: 'Bootstrap5' });
const fetchWithSpinner = async (container: HTMLElement) => {
showSpinner(container);
try {
const data = await fetch('/api/data').then(r => r.json());
return data;
} finally {
hideSpinner(container); // Always hide, even on error
}
};
import { watch } from 'vue';
watch(isLoading, (newValue) => {
if (!ref.value) return;
if (newValue) {
showSpinner(ref.value);
} else {
hideSpinner(ref.value);
}
});
onMounted(() => {
createSpinner({ target: document.body, label: 'Initializing...' });
showSpinner(document.body);
initializeApp().finally(() => hideSpinner(document.body));
});
createSpinner({
target: el,
type: 'Fluent2',
width: '40px',
label: 'Processing...',
cssClass: 'my-overlay'
});
| Function | Signature | Purpose |
|---|---|---|
createSpinner | (args: SpinnerArgs) => void | Initialize spinner on DOM element |
showSpinner | (el: HTMLElement) => void | Show an existing spinner |
hideSpinner | (el: HTMLElement) => void | Hide a visible spinner |
setSpinner | (args: SetSpinnerArgs) => void | Set global defaults for all spinners |
SpinnerArgs properties: target (required), width, label, cssClass, template, type
SpinnerType values: 'Material' | 'Material3' | 'Fabric' | 'Bootstrap' | 'Bootstrap4' | 'Bootstrap5' | 'HighContrast' | 'Tailwind' | 'Tailwind3' | 'Fluent' | 'Fluent2'
SpinnerComponent class — import { SpinnerComponent } does NOT existcreateSpinner, showSpinner, hideSpinner, setSpinnercolor, size, visible, isLoading as SpinnerArgs — they don't existSpinnerArgs: target, width, label, cssClass, template, typecreateSpinner BEFORE showSpinner — order mattersonMounted — the DOM element must exist before calling createSpinnerhideSpinner in finally — prevents stuck loading states| Issue | Solution |
|---|---|
| Spinner not showing | Ensure createSpinner is called before showSpinner; check DOM element exists (use onMounted) |
| Spinner stays visible | Call hideSpinner in finally block; check for unhandled promise rejections |
| No animation | Verify both ej2-base and ej2-vue-popups CSS imported; ej2-base must come first |
| TypeScript error | Cast: document.getElementById('id') as HTMLElement or use ref<HTMLDivElement> and null-check |
| Spinner outside bounds | Add position: relative to target element |
| Wrong theme | Set type to match your app's CSS theme (e.g., 'Fluent2' for Fluent 2 CSS) |
The Syncfusion Vue 3 Badge is a pure CSS component — no Vue 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-vue-notifications
🛑 Agentic use: Do not execute multiple steps autonomously. Confirm with the user before each action (install, run, file creation).
:class binding for dynamic variants driven by ref / computed📄 Read: references/badge-getting-started.md
npm install @syncfusion/ej2-vue-notifications. Verify with npm audit📄 Read: references/badge-types-and-shapes.md
v-for-based showcase grid📄 Read: references/badge-customization.md
font-size:class binding patterns in Vue 3📄 Read: references/badge-how-to.md
useInboxCounts pattern)1. Install the package:
npm install @syncfusion/ej2-vue-notifications
npm audit
2. Add CSS to src/main.ts:
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-notifications/styles/tailwind3.css';
3. Add a badge in your component:
<template>
<h1>Badge Component <span class="e-badge e-badge-primary">New</span></h1>
</template>
<script setup>
// No component import needed — Badge is CSS-only
</script>
<template>
<!-- Parent must have position: relative -->
<div class="badge-block">
<div class="skype svg_icons" />
<span class="e-badge e-badge-success e-badge-overlap e-badge-notification">99+</span>
</div>
</template>
<template>
<div class="badge-block">
<div class="firefox svg_icons" />
<span class="e-badge e-badge-success e-badge-overlap e-badge-dot e-badge-bottom" />
</div>
</template>
<template>
<h1>Messages <span class="e-badge e-badge-primary e-badge-pill">New</span></h1>
</template>
:class binding<template>
<h1>
Inbox
<span :class="['e-badge', `e-badge-${color}`, 'e-badge-pill']">
{{ count }}
</span>
</h1>
<button @click="count++">Increment</button>
</template>
<script setup>
import { ref, computed } from 'vue';
const count = ref(0);
const color = computed(() => (count.value > 5 ? 'danger' : 'primary'));
</script>
| 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-and-close.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-effect.md (opens in a new tab)references/skeleton-styles.md (opens in a new tab)references/spinner-accessibility.md (opens in a new tab)references/spinner-api.md (opens in a new tab)references/spinner-customization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vue49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns.Other plugins' skills for the same job