@dytesdk/ui-kit

中文文档
3.0.8发布于 2025/08/07TypeScriptESM + CJS近 30 天下载 1.1万

Dyte's UI kit to support easy UI development over the core web library.

原始使用文档
文档目录5 节
  1. UI Kit by dyte A set of UI components to truly customize yo…
  2. Table of Contents
  3. Getting Started
  4. Usage
  5. About

Logo

UI Kit by dyte

A set of UI components to truly customize your meeting UI
Explore the docs »

Report Bug · Request Feature

Table of Contents

Getting Started

There are separate UI Kit packages for React and Angular because they don't fully support Web Components natively yet. Check out the links to the packages below

React UI Kit · Angular UI Kit

First, you will need to install the ui-kit along with the web-core package:

npm i @dytesdk/ui-kit @dytesdk/web-core

The web-core package is the package which handles all the low level logic required for a meeting by interating with our servers. Use it to create a meeting object, which you can pass along to the UI Kit components.

Usage

You'll need to initialize a meeting object first.

const meeting = await DyteClient.init({
  roomName: '<room-name>',
  authToken: '<auth-token>',
  defaults: {
    video: true,
    audio: true,
  },
});

You can now pass this object to most of the components, like so (with Vanilla JS, HTML):

<!-- Load the component -->
<dyte-meeting id="my-meeting"></dyte-meeting>

<script>
  const init = async () => {
    const meeting = await DyteClient.init({
      authToken: '<auth-token>',
      roomName: '<room-name>',
      defaults: {
        video: true,
        audio: true,
      },
    });

    const meetingEl = document.getElementById('my-meeting');
    meetingEl.meeting = meeting;
  };

  init();
</script>

About

ui-kit is created & maintained by Dyte, Inc. You can find us on Twitter - @dyte_io or write to us at dev [at] dyte.io.

The names and logos for Dyte are trademarks of Dyte, Inc.

We love open source software! See our other projects and our products.

版本与发布记录

@dytesdk/ui-kit 共发布 1,028 个版本,首次发布于 2022/05/05;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.0.8latest2025/08/071.3 年前
3.0.8-staging.32025/08/061.3 年前
3.0.8-staging.22025/08/061.3 年前
3.0.8-staging.12025/08/061.3 年前
3.0.72025/07/281.3 年前
3.0.7-staging.12025/07/241.3 年前

其他发布通道:livestreaming → 1.44.2-livestreaming.2,independent-media → 1.47.1-im.3,patch → 1.48.0-p.1,on → 1.54.0-n.3,bh → 1.54.0-bh.8,test → 1.66.2-test.1。

关于 @dytesdk/ui-kit 的常见问题

@dytesdk/ui-kit 是什么?

Dyte's UI kit to support easy UI development over the core web library.

如何安装 @dytesdk/ui-kit?

在项目目录运行 npm install @dytesdk/ui-kit,或使用 pnpm add / yarn add / bun add。

@dytesdk/ui-kit 支持 TypeScript 吗?

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

@dytesdk/ui-kit 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@dytesdk/ui-kit 可以商用吗?

@dytesdk/ui-kit 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@dytesdk/ui-kit 的下载量有多少?

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

@dytesdk/ui-kit 还在维护吗?

最新版本 3.0.8 发布于 2025/08/07(1.3 年前);至今共发布 1028 个版本,其中过去 12 个月发布了 0 个;首次发布于 2022/05/05。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。