MCPcopy Index your code
hub / github.com/XiaoMi/hiui

github.com/XiaoMi/hiui @4.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 4.0.0 ↗ · + Follow
1,603 symbols 5,440 edges 1,549 files 4 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HiUI Logo

HiUI

JavaScript Style Guide


HiUI 是一个面向中后台系统的前端组件库,可以帮助开发人员快速实现交互一致、界面美观的界面开发。

特性

  • 精于中后台产品的交互与视觉设计
  • 全面的流程、数据展示模板,从业务中来,模板、组件覆盖大多数中后台系统需求
  • 数据结构分离的单组件设计,无需学习,升级方便,开箱即用

安装

现在从 npm 安装并引入 HiUI

全量安装

npm config set registry https://registry.npmjs.org

npm install @hi-ui/core @hi-ui/hiui

按需安装

npm config set registry https://registry.npmjs.org

npm install @hi-ui/core @hi-ui/组件名

注意:组件名请全部小写,并使用中横线连接。

使用

组件使用详见官方文档

贡献

HiUI 贡献详见贡献指南

License

MIT

-- EOF --

Extension points exported contracts — how you extend this code

HiRequestCallbackHooks (Interface)
(no doc)
packages/utils/request/src/type.ts
HiBaseDataItem (Interface)
(no doc)
packages/core/core/src/index.ts
NumberInputProps (Interface)
(no doc)
packages/ui/number-input/src/NumberInput.tsx
UseResizeObserverProps (Interface)
(no doc)
packages/hooks/use-resize-observer/src/index.ts
IconProps (Interface)
(no doc)
packages/icons/src/@types/props.ts
HiRequestBaseInstance (Interface)
(no doc)
packages/utils/request/src/type.ts
DashboardProgressProps (Interface)
(no doc)
packages/ui/progress/src/DashboardProgress.tsx
UseAsyncDataProps (Interface)
(no doc)
packages/hooks/use-async-data/src/index.ts

Core symbols most depended-on inside this repo

getPrefixCls
called by 427
packages/utils/classname/src/index.ts
useLatestCallback
called by 83
packages/hooks/use-latest/src/index.ts
get
called by 80
packages/utils/request/src/type.ts
isArrayNonEmpty
called by 61
packages/utils/type-assertion/src/index.ts
useUncontrolledState
called by 50
packages/hooks/use-uncontrolled-state/src/index.ts
useLatestRef
called by 48
packages/hooks/use-latest/src/index.ts
mockDefaultHandlers
called by 34
packages/utils/dom-utils/src/index.ts
isFunction
called by 34
packages/utils/type-assertion/src/index.ts

Shape

Function 1,254
Interface 318
Method 17
Class 12
Enum 2

Languages

TypeScript100%

Modules by API surface

packages/utils/tree-utils/src/index.ts33 symbols
packages/utils/request/src/type.ts18 symbols
packages/ui/date-picker/src/utils/index.tsx16 symbols
scripts/hi-docs/src/index.mjs15 symbols
packages/ui/tree/src/use-tree-action.tsx14 symbols
packages/ui/provider/src/types.ts14 symbols
packages/hooks/use-search-mode/src/index.ts14 symbols
scripts/hi-docs/src/parse-props.mjs13 symbols
packages/ui/table/src/utils/index.ts13 symbols
packages/icons/scripts/auto-generate.js13 symbols
packages/utils/type-assertion/src/index.ts12 symbols
packages/ui/input/src/utils/index.ts12 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

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

⬇ download graph artifact