# rsuite **Repository Path**: lz80316/rsuite ## Basic Information - **Project Name**: rsuite - **Description**: 一套 React 的 UI 组件库 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: main - **Homepage**: http://rsuitejs.com - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 80 - **Created**: 2024-05-07 - **Last Updated**: 2024-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [English][readm-en] | 中文版
[![npm][npm-svg]][npm-home] [![GitHub Actions][actions-svg]][actions-home] [![npm bundle size][npm-bundle-size-img]][npm-bundle-size] [![rsuite.min.js][rsuite-min-js-img]][rsuite-min-js] [![codecov][codecov-img]][codecov] [![Discord][discord-svg]][discord-invite] [![Gitter][gitter-svg]][gitter] [![Gitter][gitter-cn-svg]][gitter-cn] [![Gitpod ready-to-code][gitpod-img]][gitpod] React Suite 是一套 React 组件库,为后台产品而生。同时也是一个具有贴心设计以及对开发者友好的 UI 框架。 ### UI Design React Suite 设计原型与规范, [点击查看][rsuite-design]。 ## 支持的平台 ### 浏览器 React Suite 支持最新的,稳定版的全部主流浏览器和平台。 从 React Suite 5 开始不支持 IE10 以下版本(包括 IE10)。不推荐在移动端使用。 | IE | Edge | Firefox | Chrome | Safari | | ---- | ---- | ------- | ------ | ------ | | >=11 | >=14 | >= 45 | >= 49 | >= 10 | ### 服务端 React Suite 支持服务端渲染, 支持通过 [Next.js](https://github.com/zeit/next.js) 构建应用。 ## 支持的开发环境 - 支持 React 16 + - 支持 [TypeScript](http://www.typescriptlang.org/) - 支持 [Electron](https://electronjs.org/) ## 安装 React Suite 可通过 [npm][npm-home] 安装。 ```bash npm i rsuite --save ``` ## 使用 这里有一个简单的示例: ```jsx import { Button } from 'rsuite'; import 'rsuite/styles/index.less'; // or 'rsuite/dist/rsuite.min.css' function App() { return ; } ``` 您可以在 [CodeSandbox][live-preview-on-codesandbox] 上查看该示例。 ### 文档 您可以阅读[完整文档][rsuite-doc-guide],或者从下面几个章节开始学习 - [如何使用?][rsuite-doc-guide] - [基于 Less 定制主题][rsuite-doc-guide-themes] - [语言本地化][rsuite-doc-guide-intl] - [Right-to-left][rsuite-doc-guide-intl] - [组件][rsuite-components-overview]
## License
React Suite 基于 [MIT licensed][license] 发布。
[readm-en]: https://github.com/rsuite/rsuite/blob/main/README.md
[npm-svg]: https://img.shields.io/npm/v/rsuite
[npm-home]: https://www.npmjs.com/package/rsuite
[npm-bundle-size-img]: https://badgen.net/bundlephobia/minzip/rsuite?icon=npm
[npm-bundle-size]: https://bundlephobia.com/package/rsuite
[rsuite-min-js-img]: https://img.badgesize.io/https:/unpkg.com/rsuite/dist/rsuite.min.js?label=rsuite.min.js&compression=gzip
[rsuite-min-js]: https://unpkg.com/browse/rsuite/dist/rsuite.min.js
[actions-svg]: https://github.com/rsuite/rsuite/workflows/Node.js%20CI/badge.svg?branch=main
[actions-home]: https://github.com/rsuite/rsuite/actions?query=branch%3Amain+workflow%3A%22Node.js+CI%22
[discord-svg]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg
[discord-invite]: https://discord.gg/R8mnjwh
[rsuite-design]: https://rsuitejs.com/design/default
[live-preview-on-codesandbox]: https://codesandbox.io/s/rsuite-template-5vq6zo2z5l
[rsuite-doc-guide]: https://rsuitejs.com/guide/introduction
[rsuite-doc-guide-themes]: https://rsuitejs.com/guide/customization-less
[rsuite-doc-guide-intl]: https://rsuitejs.com/guide/intl
[rsuite-doc-guide-intl]: https://rsuitejs.com/en/guide/intl
[rsuite-components-overview]: https://rsuitejs.com/components/overview
[release-notes]: https://github.com/rsuite/rsuite/releases
[contributing]: https://github.com/rsuite/rsuite/blob/main/CONTRIBUTING.zh-CN.md
[prettierrc]: https://github.com/rsuite/rsuite/wiki/.prettierrc
[issues-11]: https://github.com/rsuite/rsuite/issues/11
[opencollective-svg]: https://opencollective.com/rsuite/tiers/backer.svg?avatarHeight=36
[opencollective-home]: https://opencollective.com/rsuite
[license]: https://github.com/rsuite/rsuite/blob/main/LICENSE
[gitter]: https://gitter.im/rsuite/rsuite?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[gitter-svg]: https://img.shields.io/gitter/room/rsuite/rsuite?label=chat-english
[gitter-cn]: https://gitter.im/rsuite/rsuite-CN?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[gitter-cn-svg]: https://img.shields.io/gitter/room/rsuite/rsuite?label=chat-chinese
[demo-admin]: https://github.com/rsuite/rsuite-management-system
[demo-modular-import]: https://github.com/rsuite/rsuite/tree/main/examples/with-babel-preset-rsuite
[demo-cdn]: https://github.com/rsuite/rsuite/tree/main/examples/cdn
[demo-create-react-app]: https://github.com/rsuite/rsuite/tree/main/examples/create-react-app
[demo-electron]: https://github.com/rsuite/rsuite/tree/main/examples/with-electron
[demo-intl-app]: https://github.com/rsuite/rsuite/tree/main/examples/custom-i18n
[demo-multiple-themes]: https://github.com/rsuite/rsuite/tree/main/examples/custom-multiple-themes
[demo-flow-app]: https://github.com/rsuite/rsuite/tree/main/examples/with-flow
[demo-typescript-app]: https://github.com/rsuite/rsuite/tree/main/examples/with-typescript
[demo-nextjs-app]: https://github.com/rsuite/rsuite/tree/main/examples/with-nextjs-app
[demo-nextjs-pages]: https://github.com/rsuite/rsuite/tree/main/examples/with-nextjs-pages
[demo-umi-app]: https://github.com/rsuite/rsuite/tree/main/examples/with-umi
[demo-rtlcss]: https://github.com/rsuite/rsuite/tree/main/examples/with-rtlcss
[demo-postcss-rtl]: https://github.com/rsuite/rsuite/tree/main/examples/with-postcss-rtl
[demo-snowpack]: https://github.com/rsuite/rsuite/tree/main/examples/with-snowpack
[demo-vite]: https://github.com/rsuite/rsuite/tree/main/examples/with-vite
[codecov]: https://codecov.io/gh/rsuite/rsuite
[codecov-img]: https://codecov.io/gh/rsuite/rsuite/branch/main/graph/badge.svg?token=HGeKd0BD3t
[gitpod]: https://gitpod.io/#https://github.com/rsuite/rsuite
[gitpod-img]: https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod