@cometchat/chat-uikit-angular

中文文档
5.2.3发布于 2026/11/07SEE LICENSE IN LICENSE.mdTypeScriptES Module构建来源已验证近 30 天下载 8234

Ready-to-use Chat UI Components for Angular (JavaScript/Web)

原始使用文档
文档目录7 节
  1. Prerequisites
  2. Getting Started
  3. Installation
  4. Features
  5. Documentation
  6. Help and Support
  7. License

CometChat

CometChat UI Kit for Angular

The CometChat Angular UI Kit provides pre-built Angular components to quickly integrate a reliable and fully-featured chat experience into your Angular application — real-time messaging, voice & video calling, conversations, users, groups, and more.

Prerequisites

  • Node.js >= 20.19
  • npm >= 10
  • Angular >= 18 (up to Angular 21)
  • A CometChat account to get your app credentials: App ID, Region, and Auth Key

Getting Started

  1. Register at the CometChat Dashboard to create an account.
  2. After registering, log in and create a new app. CometChat will generate an App ID, Region, and Auth Key for you. Keep these credentials secure.
  3. Check the Key Concepts to understand the basic components of CometChat.
  4. Refer to the Integration Steps to integrate the UI Kit into your Angular app.

Installation

npm install @cometchat/chat-uikit-angular @cometchat/chat-sdk-javascript

Features

  • 🚀 Built with Angular Signals for optimal performance
  • 🧩 Standalone components (no NgModule required)
  • ♿ Accessibility support with keyboard navigation and ARIA attributes
  • 🎨 Customizable theming with CSS variables
  • 📱 Responsive design
  • 🌍 Internationalization with runtime language switching
  • 🔧 Angular 18–21 compatible

Documentation

For full documentation, visit the CometChat Angular UI Kit Docs.

Help and Support

License

Copyright © 2025 CometChat. All rights reserved.

版本与发布记录

@cometchat/chat-uikit-angular 共发布 63 个版本,首次发布于 2023/06/07;过去 12 个月发布了 16 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
5.2.3latest2026/11/073 天前
5.2.22026/10/011 个月前
5.2.12026/09/092 个月前
5.2.02026/09/082 个月前
5.1.02026/07/263 个月前
5.0.42026/07/084 个月前

其他发布通道:legacy → 4.3.36,beta → 5.0.0-beta.3。

关于 @cometchat/chat-uikit-angular 的常见问题

@cometchat/chat-uikit-angular 是什么?

Ready-to-use Chat UI Components for Angular (JavaScript/Web)

如何安装 @cometchat/chat-uikit-angular?

在项目目录运行 npm install @cometchat/chat-uikit-angular,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:dompurify(^3.4.17)、@angular/core(>=18.0.0 <22.0.0)、@angular/common(>=18.0.0 <22.0.0)、@cometchat/cards-angular(^1.0.0)、@cometchat/chat-sdk-javascript(^4.2.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cometchat/chat-uikit-angular 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cometchat/chat-uikit-angular 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@cometchat/chat-uikit-angular 可以商用吗?

@cometchat/chat-uikit-angular 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@cometchat/chat-uikit-angular 的下载量有多少?

根据 npm 官方下载统计,@cometchat/chat-uikit-angular 在 2026/10/11 – 2026/11/09 这 30 天内被下载 8,234 次,日均约 274 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cometchat/chat-uikit-angular 还在维护吗?

最新版本 5.2.3 发布于 2026/11/07(3 天前);至今共发布 63 个版本,其中过去 12 个月发布了 16 个;首次发布于 2023/06/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。