Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-react-chat-uisyncfusion React 聊天 UI

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,968

周安装

82

GitHub Stars

1

下载量

656
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-react-chat-ui(syncfusion React 聊天 UI)
来源仓库:https://github.com/syncfusion/react-ui-components-skills
仓库路径:skills/syncfusion-react-chat-ui
安装命令:
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-chat-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-chat-ui

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构。
  • 使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • syncfusion-react-chat-ui 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Syncfusion React Chat-UI in Syncfusion React

Component Overview

The Chat-UI component provides a complete conversational interface with real-time messaging, file attachments, user presence, and extensive customization options. This skill guides you through implementing chat interfaces for customer support, team collaboration, and interactive applications.

Key Capabilities

The Chat-UI component is an interactive messaging interface featuring:

  • Rich Message Support: Text, markdown, formatted content
  • User Management: Multi-user conversations, presence status, avatars
  • File Attachments: Upload, preview, download with restrictions
  • Event System: Lifecycle, interaction, and attachment events
  • Templates: Customizable UI for messages, suggestions, footer
  • Internationalization: Multi-language and RTL support

Documentation Navigation

Getting Started

📄 Read: references/getting-started.md

  • Package installation
  • Basic component initialization
  • CSS theming and imports

Message Management

📄 Read: references/message-management.md

  • Adding and updating messages
  • Auto-scroll to latest messages
  • Progressive message loading (on-demand)
  • Message configuration (pinned, reply, forward)
  • Message status tracking
  • Message toolbar customization

User Configuration

📄 Read: references/user-configuration.md

  • User model setup
  • Avatar customization
  • User presence status
  • CSS class customization

Events and Interactions

📄 Read: references/events-and-interactions.md

  • Component lifecycle events
  • Message sending events
  • User typing events (with complete event arguments)
  • Attachment upload and click events
  • Toolbar click events

Templating System

📄 Read: references/templating-system.md

  • Empty chat template
  • Message custom rendering
  • Time break template
  • Typing indicator template
  • Suggestion template
  • Footer template customization

File Attachments

📄 Read: references/file-attachments.md

  • Enable attachment support
  • Configure upload endpoints
  • File type and size restrictions
  • Drag-and-drop support
  • Attachment templates (preview and footer)
  • Handle attachment click events

Header Customization

📄 Read: references/header-customization.md

  • Header visibility and text
  • Header icon styling
  • Toolbar configuration
  • Toolbar item types and events

Appearance and Styling

📄 Read: references/appearance-styling.md

  • Pompact mode layout for dense conversations
  • Claceholder text configuration
  • Width and height customization
  • CSS class application
  • Component-level styling

Timestamp and Time Breaks

📄 Read: references/timestamp-and-timebreaks.md

  • Show/hide timestamps
  • Timestamp format customization
  • Time break separators
  • Date-wise organization

Typing Indicator

📄 Read: references/typing-indicator.md

  • Show/hide typing indicator
  • Multi-user typing display
  • Typing indicator template customization

Mention Integration

📄 Read: references/mention-integration.md

  • Configure mentionable users
  • Customize mention trigger character
  • Predefined mentions in messages
  • Mention selection events

Globalization and RTL

📄 Read: references/globalization-rtl.md

  • Localization and language support
  • Right-to-Left (RTL) layout
  • Typing indicator localization

Quick Start Example

import { ChatUIComponent, MessagesDirective, MessageDirective, UserModel } from '@syncfusion/ej2-react-interactive-chat';
import * as React from 'react';
import * as ReactDOM from "react-dom";

function App() {
    const currentUserModel: UserModel = {
        id: "user1",
        user: "Albert"
    };

    const otherUserModel: UserModel = {
        id: "user2",
        user: "Michale Suyama"
    };

    return (
        <ChatUIComponent user={currentUserModel} headerText="Chat Support">
            <MessagesDirective>
                <MessageDirective text="Hello, how can I help?" author={currentUserModel} />
                <MessageDirective text="I need assistance with my order." author={otherUserModel} />
            </MessagesDirective>
        </ChatUIComponent>
    );
}

ReactDOM.render(<App />, document.getElementById('container'));

Common Patterns

Create a Support Chat Interface

<ChatUIComponent
  user={currentUser}
  headerText="Support Chat"
  enableAttachments={true}
  showTimeStamp={true}
  showHeader={true}
  messageToolbarSettings={{ items: ['Copy', 'Reply', 'Delete'] }}
>
  <MessagesDirective>
    {/* messages populate here */}
  </MessagesDirective>
</ChatUIComponent>

Add Message Dynamically

const chatRef = useRef<ChatUIComponent>(null);

const addNewMessage = () => {
  chatRef.current.addMessage({
    author: userModel,
    text: "Your message here",
    timeStamp: new Date()
  });
};

Configure Multiple Templates

Implement messageTemplate, emptyChatTemplate, timeBreakTemplate, and suggestionTemplate for complete customization.

Key Props

PropTypePurpose
userUserModelCurrent logged-in user
messagesMessageModel[]Initial message list
headerTextstringHeader title
placeholderstringInput field hint
enableAttachmentsbooleanFile upload support
showTimeStampbooleanDisplay message timestamps
showHeaderbooleanShow header section
showFooterbooleanShow input footer
autoScrollToBottombooleanAuto-scroll to latest message
loadOnDemandbooleanProgressive message loading
enableCompactModebooleanLeft-aligned compact layout
enableRtlbooleanRight-to-left layout
localestringLanguage/culture code

Common Use Cases

Use Case 1: Customer Support Chat

  • Multiple support agents handling customer queries
  • File attachment for screenshots and auto-scroll
  • Typing indicators to show agent engagement
  • Progressive loading for long conversation histories
  • Typing indicators to show agent engagement

Use Case 2: Team Collaboration

  • Mention team members with @
  • Compact mode for group conversations
  • Pin important discussions
  • Forward messages for reference
  • Message editing and deletion

Use Case 3: Multilingual Chat Application

  • RTL support for Arabic/Hebrew
  • Localized UI strings
  • Support for multiple cultures

For complete examples and advanced scenarios, explore individual reference files above.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.22%
按下载量换算224

Claude

33.28%
按下载量换算218

Cursor

19.97%
按下载量换算131

Gemini CLI

9.37%
按下载量换算61

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills