MCPcopy Index your code
hub / github.com/rsuite/rsuite

github.com/rsuite/rsuite @v6.2.1 sqlite

repository ↗ · DeepWiki ↗ · release v6.2.1 ↗
2,354 symbols 9,622 edges 1,756 files 119 documented · 5%
README

English | 中文版

React Suite logo

npm GitHub Actions npm bundle size codecov Discord Gitter Gitter Gitpod ready-to-code Ask DeepWiki

React Suite 是一套 React 组件库。致力于提供高质量并且全面的 React 组件,以帮助开发者快速构建 Web 应用。

支持的平台

浏览器

|

Edge |

Firefox |

Chrome |

Safari |

Electron | | ------------------ | ------------------------ | ---------------------- | ---------------------- | -------------------------- | | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

服务端

React Suite 支持服务端渲染, 支持通过 Next.js 构建应用。

安装

# with npm
npm install rsuite

# with Yarn
yarn add rsuite

# with pnpm
pnpm add rsuite

# with Bun
bun add rsuite

使用

import { Button } from 'rsuite';
import 'rsuite/styles/index.css';

function App() {
  return <Button appearance="primary">Hello World</Button>;
}

更多关于如何开始的指南,请查看这里

文档

https://rsuitejs.com 是 React Suite 的最新版本的网站。有关旧版本,请访问这里。

v5 将不再添加新特性,我们推荐你升级到最新的 v6 版本。v5 的功能修复仍会在一段时间内提供支持,安全修复也会支持,直到 v7 开始开发。

框架使用指南

React Suite 可以在您喜欢的框架中使用。我们为这些框架准备了逐步指南:

更新日志

每一个版本的详细变化记录在Release Notes

贡献

在开始之前,确保您已读贡献指南

赞助服务

这些优秀的服务帮助我们构建和维护项目。

Service Description
GitHub Github 让我们可以托管 Git 仓库并协调贡献。
Vercel Vercel 让我们可以部署应用。
CodeCov CodeCov 让我们可以检查代码覆盖率。
Gitee Gitee 授予我们 GVP - Gitee 最有价值开源项目。
CodeSandbox CodeSandbox 让我们可以提供组件的实时预览。
Stackblitz Stackblitz 让我们可以提供组件的实时预览。

支持 React Suite

如果您喜欢 React Suite,可以通过以下方式支持我们:

  • Star 这个项目。
  • 如果您在您的项目中使用了 React Suite,欢迎在这里留言
  • OpenCollective 上赞助我们。

这个项目的存在归功于所有贡献者。

opencollective-now

微信交流群, 添加 React Suite 小助手,备注 rsuite, 邀请入群。

License

React Suite 基于 MIT licensed 发布。

Extension points exported contracts — how you extend this code

UseStyledResult (Interface)
* Result of the useStyled hook
src/internals/styled-system/useStyled.ts
TreeViewInnerProps (Interface)
* Represents the props for the TreeView component.
src/Tree/TreeView.tsx
TextMaskBaseProps (Interface)
* https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#guide
src/MaskedInput/TextMask.tsx
BuildJson (Interface)
(no doc)
test/validateBuilds.spec.ts
MediaQueryList (Interface)
(no doc)
test/mocks/matchmedia-mock.ts
ChangeEvent (Interface)
(no doc)
test/cases/testControlledUnControlled.tsx
AvatarGroupProps (Interface)
(no doc)
src/AvatarGroup/AvatarGroup.tsx
ToolbarProps (Interface)
(no doc)
src/DatePicker/Toolbar.tsx

Core symbols most depended-on inside this repo

render
called by 2721
src/toaster/render.ts
prefix
called by 360
src/internals/utils/style-sheet/prefix.ts
useEventCallback
called by 297
src/internals/hooks/useEventCallback.ts
useStyles
called by 211
src/internals/hooks/useStyles.ts
push
called by 200
src/toaster/toaster.tsx
forwardRef
called by 197
src/internals/utils/react/forwardRef.ts
testStandardProps
called by 174
test/cases/testStandardProps.ts
useCustom
called by 147
src/internals/hooks/useCustom.ts

Shape

Function 1,428
Interface 565
Class 231
Method 110
Enum 20

Languages

TypeScript100%

Modules by API surface

examples/with-flow/flow-typed/npm/rsuite_v3.x.x.js200 symbols
test/mocks/matchmedia-mock.ts20 symbols
docs/scripts/generate-llms-full-txt.js20 symbols
docs/components/thumbnails/dataEntry.tsx20 symbols
src/Animation/Transition.tsx19 symbols
docs/scripts/generate-page-md.js19 symbols
src/Tree/utils/focusableTree.ts15 symbols
src/useMediaQuery/breakpoints.ts14 symbols
src/DateRangePicker/DateRangePicker.tsx14 symbols
src/CheckTree/utils.ts13 symbols
docs/utils/jsonld.ts13 symbols
src/DateInput/utils.ts12 symbols

Dependencies from manifests, versioned

@babel/cli7.26.4 · 1×
@babel/core7.26.0 · 1×
@babel/plugin-proposal-class-properties7.5.5 · 1×
@babel/plugin-proposal-decorators7.0.0 · 1×
@babel/plugin-proposal-do-expressions7.0.0 · 1×
@babel/plugin-proposal-export-default-from7.25.9 · 1×
@babel/plugin-proposal-export-namespace-from7.0.0 · 1×
@babel/plugin-proposal-function-bind7.0.0 · 1×
@babel/plugin-proposal-function-sent7.0.0 · 1×
@babel/plugin-proposal-json-strings7.0.0 · 1×
@babel/plugin-proposal-logical-assignment-operators7.0.0 · 1×
@babel/plugin-proposal-nullish-coalescing-operator7.0.0 · 1×

For agents

$ claude mcp add rsuite \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact