/syncfusion-angular:syncfusion-angular-popupsfrom Syncfusion Angular UI Components
Comprehensive guide for implementing Syncfusion Angular popup components including Dialog, Predefined Dialogs and Tooltip. Use this when building modal/modeless dialogs, confirmation popups, forms in dialogs, draggable windows, popovers, tooltips, and overlaid content with custom positioning, animations, WCAG 2.2 accessibility, forms integration, and event handling 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 Dialog component is a window that displays information to the user and is used to get user input. It supports both modal dialogs (blocking parent interaction) and modeless dialogs (allowing parent interaction).
When you need to implement Dialog features, follow these references:
📄 Read: references/dialog-getting-started.md
📄 Read: references/dialog-modal-vs-modeless.md
📄 Read: references/dialog-templates-and-content.md
📄 Read: references/dialog-positioning-and-sizing.md
📄 Read: references/dialog-styling-and-customization.md
📄 Read: references/dialog-accessibility-and-forms.md
📄 Read: references/dialog-interaction-and-events.md
📄 Read: references/dialog-advanced-patterns.md
📄 Read: references/dialog-api-reference.md
Here's a minimal example to open a basic modal dialog:
import { Component, ViewChild } from '@angular/core';
import { DialogModule, DialogComponent } from '@syncfusion/ej2-angular-popups';
@Component({
selector: 'app-root',
imports: [DialogModule],
template: `
<div id="dialog-container" style="height: 500px;">
<button class="e-control e-btn" (click)="onOpenDialog()">
Open Dialog
</button>
<ejs-dialog
#ejDialog
target="#dialog-container"
[showCloseIcon]="true"
width="400px"
content="This is a Dialog content"
>
<ng-template #header>
<div class="e-dlg-header-content">
<span>Dialog Title</span>
</div>
</ng-template>
</ejs-dialog>
</div>
`
})
export class AppComponent {
@ViewChild('ejDialog') ejDialog!: DialogComponent;
onOpenDialog(): void {
this.ejDialog.show();
}
}
CSS:
#dialog-container {
height: 500px;
}
// Create a modal dialog for confirmation
<ejs-dialog
[isModal]="true"
[showCloseIcon]="true"
width="350px"
content="Are you sure you want to delete this item?"
>
<ng-template #footerTemplate>
<button class="e-control e-btn e-primary" (click)="onConfirm()">
Yes, Delete
</button>
<button class="e-control e-btn" (click)="onCancel()">
Cancel
</button>
</ng-template>
</ejs-dialog>
// Dialog containing a reactive form
<ejs-dialog [showCloseIcon]="true" width="450px">
<form [formGroup]="form">
<div class="e-dlg-content">
<input formControlName="name" placeholder="Enter name" />
<input formControlName="email" placeholder="Enter email" />
</div>
</form>
<ng-template #footerTemplate>
<button class="e-control e-btn e-primary" (click)="onSubmit()">
Submit
</button>
</ng-template>
</ejs-dialog>
// Dialog positioned at a specific location
<ejs-dialog
[position]="{ X: 100, Y: 50 }"
width="400px"
content="Positioned Dialog"
>
</ejs-dialog>
| Property | Type | Purpose | Example |
|---|---|---|---|
isModal | boolean | Block parent interaction | [isModal]="true" |
showCloseIcon | boolean | Show close button in header | [showCloseIcon]="true" |
width | string | number | Set dialog width | width="400px" |
height | string | number | Set dialog height | height="300px" |
minHeight | string | number | Minimum height constraint | [minHeight]="200" |
position | PositionDataModel | Set position (X, Y) or preset | [position]="{ X: 'center', Y: 'center' }" |
target | HTMLElement | string | Set container element | target="#container" |
content | string | HTMLElement | Set content text or HTML | content="Hello" |
header | string | HTMLElement | Set header text or element | header="Title" |
buttons | ButtonPropsModel[] | Add footer buttons | [buttons]="buttonArray" |
closeOnEscape | boolean | Close on Escape key | [closeOnEscape]="true" |
allowDragging | boolean | Enable header dragging | [allowDragging]="true" |
enableResize | boolean | Enable resizing | [enableResize]="true" |
resizeHandles | ResizeDirections[] | Specify resize directions | [resizeHandles]="['All']" |
cssClass | string | Custom CSS class(es) | cssClass="custom-dialog" |
animationSettings | AnimationSettingsModel | Configure animations | [animationSettings]="{ effect: 'FadeZoom' }" |
enablePersistence | boolean | Save state between reloads | [enablePersistence]="true" |
zIndex | number | Z-order for layering | [zIndex]="1000" |
This skill covers building alert, confirm, and prompt dialogs using Syncfusion's DialogUtility — a zero-template, utility-first approach to displaying modal feedback and user-input dialogs in Angular applications.
| Need | Dialog Type | API |
|---|---|---|
| Warn/inform user, single OK | Alert | DialogUtility.alert(...) |
| Ask for confirmation (OK + Cancel) | Confirm | DialogUtility.confirm(...) |
| Collect user input (HTML content + OK + Cancel) | Prompt | DialogUtility.confirm(...) with input in content |
Key insight: Angular's predefined dialogs have no separate "prompt" method — use
DialogUtility.confirm()with custom HTML in thecontentproperty to build a prompt pattern.
ng add @syncfusion/ej2-angular-popups
// src/app/app.ts
import { Component } from '@angular/core';
import { DialogModule } from '@syncfusion/ej2-angular-popups';
import { ButtonModule } from '@syncfusion/ej2-angular-buttons';
import { DialogUtility } from '@syncfusion/ej2-popups';
@Component({
selector: 'app-root',
standalone: true,
imports: [DialogModule, ButtonModule],
template: `
<button ejs-button cssClass="e-danger" (click)="showAlert()">Alert</button>
<button ejs-button cssClass="e-success" (click)="showConfirm()" style="margin-left:8px">Confirm</button>
<button ejs-button [isPrimary]="true" (click)="showPrompt()" style="margin-left:8px">Prompt</button>
`
})
export class App {
showAlert(): void {
DialogUtility.alert({
title: 'Warning',
content: 'Disk space is running low.',
width: '280px'
});
}
showConfirm(): void {
const dlg = DialogUtility.confirm({
title: 'Delete Item',
content: 'Are you sure you want to delete this item?',
width: '300px',
okButton: { text: 'Yes', click: () => { dlg.hide(); /* handle confirm */ } },
cancelButton: { text: 'No', click: () => { dlg.hide(); } }
});
}
showPrompt(): void {
const dlg = DialogUtility.confirm({
title: 'Enter Name',
content: '<p>Your name:</p><input id="nameInput" class="e-input" type="text" placeholder="Type here..." />',
width: '300px',
okButton: {
text: 'Submit',
click: () => {
const value = (document.getElementById('nameInput') as HTMLInputElement).value;
dlg.hide();
// use value
}
},
cancelButton: { text: 'Cancel', click: () => dlg.hide() }
});
}
}
/* styles.css */
@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-icons/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-angular-popups/styles/material3.css';
Pattern 1 — Delete confirmation with icons:
DialogUtility.confirm({
title: 'Delete Files',
content: 'Permanently delete selected files?',
width: '300px',
okButton: { text: 'Yes', icon: 'e-icons e-check' },
cancelButton: { text: 'No', icon: 'e-icons e-close' }
});
Pattern 2 — Alert with close button + ESC support:
DialogUtility.alert({
title: 'Session Expired',
content: 'Your session has expired. Please log in again.',
width: '300px',
showCloseIcon: true,
closeOnEscape: true
});
Pattern 3 — Positioned modal confirm:
DialogUtility.confirm({
title: 'Confirm Action',
content: 'Submit the form?',
isModal: true,
position: { X: 'center', Y: 'center' },
animationSettings: { effect: 'Zoom' },
isDraggable: true,
width: '280px'
});
| Property | Purpose | Default |
|---|---|---|
title | Dialog header text | — |
content | Body text or HTML string | — |
width | Dialog width (px or %) | '100%' |
isModal | Overlay + modal behavior | false |
isDraggable | Allow header drag to reposition | false |
showCloseIcon | Show × close button | false |
closeOnEscape | Close on ESC key | false |
position | { X, Y } — predefined or offset | center/center |
animationSettings | { effect, duration, delay } | Fade, 400ms |
okButton | OK button config { text, icon, click } | — |
cancelButton | Cancel button config { text, icon, click } | — |
cssClass | Custom CSS class on dialog root | '' |
zIndex | Stacking order | 1000 |
open | Callback after dialog opens | — |
close | Callback after dialog closes | — |
📄 Read: references/getting-started.md
DialogUtility option properties📄 Read: references/customization.md
hide()📄 Read: references/position-and-dimension.md
cssClasscssClass📄 Read: references/animation-and-draggable.md
animationSettings effect options (Zoom, Fade, FadeZoom, etc.)isDraggable for all dialog types📄 Read: references/events-and-patterns.md
open and close event callbacksisModal, zIndex, cssClass advanced usage📄 Read: references/api.md
DialogUtility.alert() and DialogUtility.confirm() optionsokButton / cancelButton ButtonArgs propertiesAnimationSettingsModel propertiesPositionDataModel propertiesDialogComponent properties, methods, and eventsThe Syncfusion Angular Tooltip (ejs-tooltip) displays a pop-up with information or a message when you hover, click, focus, or touch a target element. It supports 12 positions, animations, HTML/template/AJAX content, sticky mode, mouse trailing, and full accessibility compliance.
📄 Read: references/getting-started.md
ng add @syncfusion/ej2-angular-popups)target property📄 Read: references/content.md
ng-templatebeforeRender eventenableHtmlParse and enableHtmlSanitizer options📄 Read: references/position-and-dimension.md
TopCenter, BottomLeft, etc.)offsetX, offsetY)📄 Read: references/open-mode.md
opensOn: Auto, Hover, Click, Focus, Customopen()/close()isSticky)📄 Read: references/animation.md
animation property with open/close settingsopen()/close() methods📄 Read: references/customization-and-style.md
cssClass for custom styles📄 Read: references/accessibility.md
📄 Read: references/api.md
TooltipEventArgs, AnimationModel, TooltipAnimationSettingsPosition, TipPointerPosition, and Effect enumerationsng add @syncfusion/ej2-angular-popups
// src/app/app.ts (Angular 19+ standalone)
import { Component, ViewEncapsulation } from '@angular/core';
import { TooltipModule } from '@syncfusion/ej2-angular-popups';
@Component({
standalone: true,
imports: [TooltipModule],
selector: 'app-root',
encapsulation: ViewEncapsulation.None,
template: `
<ejs-tooltip content="Hello, I am a Tooltip!" position="BottomCenter">
<button>Hover me</button>
</ejs-tooltip>
`
})
export class App {}
/* styles.css */
@import "@syncfusion/ej2-base/styles/material3.css";
@import "@syncfusion/ej2-angular-buttons/styles/material3.css";
@import "@syncfusion/ej2-angular-popups/styles/material3.css";
<!-- Wraps a container; target selector picks which children get tooltips -->
<ejs-tooltip target=".has-tip">
<div id="container">
<button class="has-tip" title="Save your work">Save</button>
<button class="has-tip" title="Delete selected item">Delete</button>
<button>No tooltip here</button>
</div>
</ejs-tooltip>
<ejs-tooltip content="Clicked!" opensOn="Click" position="RightCenter">
<button>Click me</button>
</ejs-tooltip>
<ejs-tooltip content="I stay until you close me." [isSticky]="true">
<span>Hover and pin me</span>
</ejs-tooltip>
public htmlContent: string = '<b>Bold</b> and <i>italic</i> text with a <a href="#">link</a>.';
<ejs-tooltip [content]="htmlContent">
<button>Rich content</button>
</ejs-tooltip>
@ViewChild('tooltip') tooltip!: TooltipComponent;
openTip(): void {
this.tooltip.open(this.tooltip.element);
}
closeTip(): void {
this.tooltip.close();
}
<ejs-tooltip #tooltip content="Custom trigger" opensOn="Custom">
<span>Target</span>
</ejs-tooltip>
<button (click)="openTip()">Show</button>
<button (click)="closeTip()">Hide</button>
| Property | Type | Default | Purpose |
|---|---|---|---|
content | string | HTMLElement | — | Tooltip content |
position | Position | 'TopCenter' | Where tooltip appears |
opensOn | string | 'Auto' | Trigger: Auto/Hover/Click/Focus/Custom |
isSticky | boolean | false | Keep open until manually closed |
mouseTrail | boolean | false | Follow mouse pointer |
openDelay | number | 0 | Delay (ms) before opening |
closeDelay | number | 0 | Delay (ms) before closing |
animation | AnimationModel | FadeIn/FadeOut 150ms | Open/close animation |
target | string | — | Selector for multi-target |
cssClass | string | null | Custom CSS class |
showTipPointer | boolean | true | Show/hide arrow tip |
width / height | string | number | 'auto' | Dimensions |
For full property, method, and event reference, read references/api.md.
references/dialog-accessibility-and-forms.md (opens in a new tab)references/dialog-advanced-patterns.md (opens in a new tab)references/dialog-api-reference.md (opens in a new tab)references/dialog-getting-started.md (opens in a new tab)references/dialog-interaction-and-events.md (opens in a new tab)references/dialog-modal-vs-modeless.md (opens in a new tab)references/dialog-positioning-and-sizing.md (opens in a new tab)references/dialog-styling-and-customization.md (opens in a new tab)references/dialog-templates-and-content.md (opens in a new tab)references/predefineddialog-animation-and-draggable.md (opens in a new tab)references/predefineddialog-api.md (opens in a new tab)references/predefineddialog-customization.md (opens in a new tab)references/predefineddialog-events-and-patterns.md (opens in a new tab)references/predefineddialog-getting-started.md (opens in a new tab)references/predefineddialog-position-and-dimension.md (opens in a new tab)references/tooltip-accessibility.md (opens in a new tab)references/tooltip-animation.md (opens in a new tab)references/tooltip-api.md (opens in a new tab)references/tooltip-content.md (opens in a new tab)references/tooltip-customization-and-style.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angularOther plugins' skills for the same job
65 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.