Giter VIP home page Giter VIP logo

tdesign-react's Introduction

TDesign Logo

License codecov Version Downloads

TDesign 适配桌面端的组件库,适合在 React 16.x 及以上技术栈的项目中使用。

🎉 特性

  • 适配桌面端交互
  • 基于 React 16.x(全部基于 React Hooks 的 Functional Component)
  • 与其他框架/库(Vue / Angular)版本 UI 保持一致
  • 支持暗黑模式及其他主题定制
  • 支持按需加载

安装

npm i tdesign-react

基础使用

推荐使用 Webpack 或 Rollup 等支持 tree-shaking 特性的构建工具,无需额外配置即可实现组件按需引入:

import { Button } from 'tdesign-react';
import 'tdesign-react/es/style/index.css'; // 少量公共样式

npm package 中提供了多种构建产物,可以阅读 这里 了解不同目录下产物的差别。

快速体验

可以访问官方提供的 TDesign Starter 项目体验使用 TDesign 组件快速搭建业务系统。

浏览器兼容性

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

详情参见桌面端组件库浏览器兼容性说明

其他技术栈实现

参与贡献

如果需要本地运行代码或参与贡献,请参考参与贡献

开源协议

TDesign 遵循 MIT 协议

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.