@dytesdk/react-ui-kit

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

Dyte's UI Kit to support easy UI development for React.

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

Logo

React UI Kit by dyte

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

Report Bug · Request Feature

Table of Contents

Getting Started

There are separate UI Kit packages for VanillaJS and Angular. Check out the links to the packages below

UI Kit · Angular UI Kit

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

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

The react-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.

react-web-core consists of hooks written on top of web-core which make it easy to use web-core in react applications.

Usage

Use the useDyteClient() hook to initialize a client

function App() {
  const [client, initClient] = useDyteClient();

  useEffect(() => {
    initClient({
      authToken: '<auth-token>',
      roomName: '<room-name>',
      defaults: {
        audio: true,
        video: true,
      },
    });
  }, []);

  return <DyteMeeting meeting={client} />;
}

About

react-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/react-ui-kit 共发布 1,033 个版本,首次发布于 2022/05/10;过去 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.1,independent-media → 1.47.1-im.4,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/react-ui-kit 的常见问题

@dytesdk/react-ui-kit 是什么?

Dyte's UI Kit to support easy UI development for React.

如何安装 @dytesdk/react-ui-kit?

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

@dytesdk/react-ui-kit 支持 TypeScript 吗?

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

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

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

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

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

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

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

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

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