A React UI components lib for TDesign.
Go to file
wū yāng e4e6681a97
fix(Select): fix valueDisplay onClose callback (#3154)
* fix(Select): fix valueDisplay onclose callback

* chore: update snapshot

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 19:34:54 +08:00
.github chore: update pr-comment-ci (#3093) 2024-09-11 15:14:16 +08:00
.husky chore: 限制内网邮箱提交 (#1095) 2022-07-14 19:22:18 +08:00
.vscode fix: vscode config (#2980) 2024-07-05 21:26:37 +08:00
script chore: fix docs (#3144) 2024-10-17 14:49:41 +08:00
site docs: update usage docs for nextjs (#3138) 2024-10-15 12:17:52 +08:00
src fix(Select): fix valueDisplay onClose callback (#3154) 2024-10-22 19:34:54 +08:00
test fix(Select): fix valueDisplay onClose callback (#3154) 2024-10-22 19:34:54 +08:00
.editorconfig feat: update editorconfig 2022-08-04 20:14:02 +08:00
.eslintignore feat: 优化文档内容 (#21) 2021-12-07 21:24:26 +08:00
.eslintrc.js feat: 删除无用依赖 (merge request !386) 2021-11-12 05:39:33 +00:00
.gitignore fix(select): onBlur function data of the select component is wrong (#2281) 2023-06-13 16:19:11 +08:00
.gitmodules feat: 调整submodule clone 方式为 https (#534) 2022-03-24 14:04:58 +08:00
.prettierignore chore: webpack config 2020-07-17 17:20:06 +08:00
.prettierrc.js 重构 Tabs 组件 & 对齐最新 api (merge request !129) 2021-04-22 11:43:39 +00:00
babel.config.demo.js chore: remove exist jsx demo file and generate when site build (#2976) 2024-07-03 17:40:05 +08:00
babel.config.js fix: tree regeneratorRuntime error (merge request !339) 2021-10-09 05:34:53 +00:00
CHANGELOG.md chore: release 1.9.2 (#3147) 2024-10-17 03:27:01 -05:00
commitlint.config.js chore: eslint & husky config 2020-05-12 15:47:43 +08:00
CONTRIBUTING.md chore(contributing): contributing docs update (#2673) 2023-12-17 15:50:43 +08:00
DEVELOP_GUIDE.md docs: test unit支持多个组件 2022-03-16 19:51:35 +08:00
globals.d.ts fix: 修复avatar组件编译失败问题 2021-12-23 17:43:36 +08:00
LICENSE chore: remove LICENSE email 2021-12-16 03:06:06 +08:00
package.json chore: release 1.9.2 (#3147) 2024-10-17 03:27:01 -05:00
postcss.config.js fix: 修复 csscano 导致css文件丢失末尾分号问题 (#1954) 2023-02-08 11:22:40 +08:00
PUBLISH.md chore: Update PUBLISH.md (#2691) 2023-12-28 22:33:18 +08:00
README-zh_CN.md chore: update group code (#2796) 2024-03-13 17:59:01 +08:00
README.md chore: update group code (#2796) 2024-03-13 17:59:01 +08:00
tsconfig.build.json docs: add TypeScript demos (#2871) 2024-06-25 11:39:04 +08:00
tsconfig.dev.json docs: add TypeScript demos (#2871) 2024-06-25 11:39:04 +08:00
tsconfig.json build: upgrade vite to v5, vitest to v2, typescript to v5 (#3115) 2024-10-10 18:22:24 +08:00
vitest.config.ts chore: update demo (#1886) 2023-01-13 15:58:52 +08:00

TDesign Logo

License codecov Version Downloads

English | 简体中文

TDesign React is a UI component library for React 16.x and desktop application.

🎉 Features

  • Desktop application interaction
  • High quality UI components for React
  • Consistent API and UI with TDesign component libraries for other frameworks
  • Dark mode and customizable theme
  • Support tree-shaking

📦 Installation

npm i tdesign-react
yarn add tdesign-react
pnpm add tdesign-react

🔨 Usage

import React from 'react';
import { Button } from 'tdesign-react';
import 'tdesign-react/es/style/index.css';

function App() {
  return <Button>Hello TDesign</Button>;
}

ReactDOM.createRoot(document.getElementById('app')).render(<App />);

The package of tdesign-react provides kinds of bundles, read the documentation for the detail of differences between bundles.

Quick Start

Visit TDesign Starter to experience in the application built with TDesign React UI components.

Browser Support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge >=84 Firefox >=83 Chrome >=84 Safari >=14.1

Read our browser compatibility for more details.

TDesign component libraries

TDesign also provides component libraries for other platforms and frameworks.

Contributing

Contributing is welcome. Read guidelines for contributing before submitting your Pull Request.

Contributors

Feedback

Create your Github issues or scan the QR code below to join our user groups

License

The MIT License. Please see the license file for more information.