/syncfusion-javascript:syncfusion-javascript-chat-uifrom Syncfusion JavaScript UI Controls
Implement the Syncfusion Javascript Chat UI control using Javascript (ej2-interactive-chat). Use this skill when the user mentions chat UI, chat interface, conversational UI, messaging interface, chat applications, messaging systems, customer support chat, AI chatbots, or any real-time conversation features. Provides comprehensive guidance on messages, typing indicators, file attachments, @mentions, suggestions, header/footer customization, templates, load-on-demand, message toolbars, RTL support, localization, accessibility features, and complete chat interface implementations with working code examples.
Ships in Syncfusion JavaScript UI Controls. 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 Chat UI component provides a modern, feature-rich interface for building conversational applications including customer support chat, AI chatbots, messaging systems, and collaborative communication tools.
The Syncfusion Chat UI (ChatUI) control is from the @syncfusion/ej2-interactive-chat package that provides:
Package: @syncfusion/ej2-interactive-chat
Dependencies: ej2-base, ej2-navigations, ej2-inputs, ej2-buttons, ej2-dropdowns, ej2-popups
📄 Read: references/getting-started.md
📄 Read: references/messages.md
📄 Read: references/header-footer.md
📄 Read: references/typing-indicator.md
📄 Read: references/templates.md
📄 Read: references/timebreak-timestamp.md
📄 Read: references/file-attachments.md
📄 Read: references/mention.md
📄 Read: references/suggestions.md
📄 Read: references/load-on-demand.md
📄 Read: references/methods.md
📄 Read: references/events.md
📄 Read: references/message-toolbar-appearance.md
import { ChatUI, UserModel, MessageModel } from '@syncfusion/ej2-interactive-chat';
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
// Define current user
let currentUser: UserModel = {
id: "user1",
user: "Albert",
avatarUrl: "https://example.com/avatar1.png"
};
// Define other participant
let participantUser: UserModel = {
id: "user2",
user: "Michale Suyama",
avatarUrl: "https://example.com/avatar2.png"
};
// Initial messages
let chatMessages: MessageModel[] = [
{
author: currentUser,
text: "Hi Michale, are we on track for the deadline?"
},
{
author: participantUser,
text: "Yes, the design phase is complete."
},
{
author: currentUser,
text: "Great! I'll review it and send feedback by today."
}
];
// Initialize Chat UI
let chatUI: ChatUI = new ChatUI({
user: currentUser,
messages: chatMessages,
headerText: 'Michale Suyama',
showTimeStamp: true,
autoScrollToBottom: true
});
// Render
chatUI.appendTo('#chatUI');
<!DOCTYPE html>
<html lang="en">
<head>
<title>Chat UI Example</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- CSS imports -->
<link href="https://cdn.syncfusion.com/ej2/32.1.19/fluent2.css" rel="stylesheet" />
</head>
<body>
<div class="chatui-container" style="height: 500px; width: 400px;">
<div id="chatUI"></div>
</div>
</body>
</html>
@import "../../node_modules/@syncfusion/ej2-fluent2-theme/styles/chat-ui/index.css";
// Add as string (uses current user)
chatUI.addMessage("This is a new message");
// Add as MessageModel (any user)
chatUI.addMessage({
text: "Response from bot",
author: botUser,
timestamp: new Date()
});
let chatUI: ChatUI = new ChatUI({
user: currentUser,
messageSend: (args: MessageSendEventArgs) => {
console.log("Message being sent:", args.message.text);
// Cancel send if needed
if (args.message.text.trim() === '') {
args.cancel = true;
}
// Send to server/API
sendToServer(args.message);
}
});
// Show user is typing
chatUI.typingUsers = [participantUser];
// Hide typing indicator (after message received)
chatUI.typingUsers = [];
let chatUI: ChatUI = new ChatUI({
user: currentUser,
enableAttachments: true,
attachmentSettings: {
saveUrl: 'https://your-server.com/api/upload',
removeUrl: 'https://your-server.com/api/remove',
allowedFileTypes: '.jpg,.png,.pdf,.docx',
maxFileSize: 5242880, // 5MB in bytes
maximumCount: 3
},
attachmentUploadSuccess: (args) => {
console.log("File uploaded successfully:", args.file.name);
}
});
let mentionableUsers: UserModel[] = [
{ id: "user1", user: "Albert" },
{ id: "user2", user: "Michale" },
{ id: "user3", user: "Janet" }
];
let chatUI: ChatUI = new ChatUI({
user: currentUser,
mentionTriggerChar: '@',
mentionUsers: mentionableUsers,
mentionSelect: (args: MentionSelectEventArgs) => {
console.log("Mentioned user:", args.itemData);
}
});
// Update message content
chatUI.updateMessage({
text: "Updated message content",
author: currentUser
}, "message-id-123");
// Scroll to bottom (latest message)
chatUI.scrollToBottom();
// Scroll to specific message by ID
chatUI.scrollToMessage("message-id-456");
| Property | Type | Description |
|---|---|---|
user | UserModel | Current user interacting with the chat |
messages | MessageModel[] | Collection of chat messages |
showHeader | boolean | Show/hide header (default: true) |
showFooter | boolean | Show/hide footer (default: true) |
headerText | string | Text displayed in header |
placeholder | string | Input placeholder text |
typingUsers | UserModel[] | Users currently typing |
showTimeStamp | boolean | Show message timestamps (default: true) |
showTimeBreak | boolean | Group messages by date (default: false) |
autoScrollToBottom | boolean | Auto-scroll on new message (default: false) |
enableAttachments | boolean | Enable file attachments (default: false) |
attachmentSettings | FileAttachmentSettingsModel | File upload configuration |
mentionTriggerChar | string | Character to trigger mentions (default: '@') |
mentionUsers | UserModel[] | Users available for @mention |
suggestions | string[] | Quick reply suggestions |
loadOnDemand | boolean | Lazy load messages (default: false) |
enableCompactMode | boolean | Left-align all messages (default: false) |
messageToolbarSettings | MessageToolbarSettingsModel | Per-message toolbar config |
headerToolbar | ToolbarSettingsModel | Header toolbar config |
width | string | number | Component width (default: '100%') |
height | string | number | Component height (default: '100%') |
cssClass | string | Custom CSS classes |
enableRtl | boolean | Right-to-left layout (default: false) |
locale | string | Localization culture |
references/events.md (opens in a new tab)references/file-attachments.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/header-footer.md (opens in a new tab)references/load-on-demand.md (opens in a new tab)references/mention.md (opens in a new tab)references/message-toolbar-appearance.md (opens in a new tab)references/messages.md (opens in a new tab)references/methods.md (opens in a new tab)references/suggestions.md (opens in a new tab)references/templates.md (opens in a new tab)references/timebreak-timestamp.md (opens in a new tab)references/typing-indicator.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-javascript67 skills in this plugin
/syncfusion-javascript-3d-chartCreate interactive 3D charts in Syncfusion TypeScript and JavaScript. Immediately use this skill when user needs to build 3D visualizations, render 3D column/bar charts, configure 3D rotation and depth, visualize data in three dimensions, customize 3D chart appearance, handle 3D interactions, or implement advanced 3D features. Works with TypeScript (webpack/module-based) and JavaScript (CDN/ES5)./syncfusion-javascript-accordionBuild collapsible navigation panels with the Syncfusion TypeScript Accordion component. Use this skill when implementing vertical accordion menus, expanding/collapsing content panels, multi-step wizards, data-driven panels with dynamic content, tabbed navigation alternatives, or nested hierarchical content structures. Covers initialization, expand modes, animations, icons, templates, styling, data binding, and advanced use cases like form wizards./syncfusion-javascript-accumulation-chartImplements Syncfusion JavaScript accumulation charts (Pie, Doughnut, Funnel, Pyramid) for proportional and percentage-based visualizations. Use when displaying categorical or proportional data. Covers legend and label configuration, interactivity, accessibility, and customization. Works with TypeScript (modules) and JavaScript (CDN/ES5).Other plugins' skills for the same job