
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@w.ui/wui-react
Advanced tools
基于 React 19 和 Ant Design 6 的高质量组件库,提供 100+ 可复用的业务组件。
npm install @w.ui/wui-react
# 或
yarn add @w.ui/wui-react
# 或
pnpm add @w.ui/wui-react
import React from 'react'
import { DescBox, RadioInput, Exception } from '@w.ui/wui-react'
import '@w.ui/wui-react/style.css'
const App = () => {
return (
<div>
<DescBox title="示例标题" description="这是一个描述框组件" />
<RadioInput
options={[
{ label: '选项1', value: '1' },
{ label: '选项2', value: '2' },
]}
onChange={(value) => console.log(value)}
/>
</div>
)
}
export default App
本包同时支持两种导入方式:
@w.ui/wui-react(向后兼容,导出聚合)@w.ui/wui-react/core | /stateful | /stateless(更细粒度 tree-shaking)| 源入口(源码) | 使用方 import 路径 | 对应产物(发布后) |
|---|---|---|
src/lib/index.ts | @w.ui/wui-react | pro-react-components.es.js / pro-react-components.umd.js / index.d.ts |
src/lib/core.ts | @w.ui/wui-react/core | entries/core.es.js / entries/core.cjs.js / entries/core.d.ts |
src/lib/stateful.ts | @w.ui/wui-react/stateful | entries/stateful.es.js / entries/stateful.cjs.js / entries/stateful.d.ts |
src/lib/stateless.ts | @w.ui/wui-react/stateless | entries/stateless.es.js / entries/stateless.cjs.js / entries/stateless.d.ts |
| (样式) | @w.ui/wui-react/style.css | style.css |
import { KeepAlive } from '@w.ui/wui-react/core'
import { TreeList } from '@w.ui/wui-react/stateful'
import { SmartVideoPlayer } from '@w.ui/wui-react/stateless'
import '@w.ui/wui-react/style.css'
本库包含 100+ 组件,包括但不限于:
stateless 组件较多(动画/展示/输入/媒体等)。下面列出部分常用组件名(按导出名):
完整清单建议查看仓库:src/lib/stateless.ts(导出即组件清单),或访问 Storybook。
完整组件列表请访问 在线文档
{
"react": ">=19.0.0",
"react-dom": ">=19.0.0",
"antd": ">=6.0.0"
}
确保你的项目中已安装这些依赖。
欢迎提交 Issue 和 Pull Request!
详见 贡献指南
MIT © wkylin
如果这个项目对你有帮助,请给一个 ⭐️ 支持一下!
FAQs
pro-react-admin components library
The npm package @w.ui/wui-react receives a total of 899 weekly downloads. As such, @w.ui/wui-react popularity was classified as not popular.
We found that @w.ui/wui-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.