MCPcopy Index your code
hub / github.com/arco-design/arco-design-mobile

github.com/arco-design/arco-design-mobile @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,493 symbols 3,652 edges 559 files 55 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<a href="https://arco.design/mobile/react" target="_blank">
    <img alt="Arco Design Logo" width="200" src="https://avatars.githubusercontent.com/u/64576149?s=200&v=4"/>
</a>






<h1>Arco Design Mobile</h1>

基于 Arco Design 的 React UI 组件库。适用于移动端 H5 / WebView 环境。

license Ask DeepWiki

English | 简体中文

特性

  • 基于 TypeScript 提供 50+ 开箱即用的组件
  • 简洁克制的 UI 设计 & 精确到像素的还原
  • 追求极致的手指交互效果
  • 重要组件线上大流量验证
  • 细粒度且灵活的属性配置
  • 支持服务端渲染
  • 支持国际化
  • 支持按需引入
  • 支持主题配置

安装

npm package

// with npm
npm install @arco-design/mobile-react

// with yarn
yarn add @arco-design/mobile-react

示例

import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@arco-design/mobile-react/esm/button';
import '@arco-design/mobile-react/esm/button/style';

function App() {
  return (
    <Button>
      Hello World
    </Button>
  );
}

ReactDOM.render(<App />, document.getElementById('app'));

在 LLM 中使用

快速配置(Cursor):

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    }
  }
}

提示词示例:

使用 Arco Design Mobile 创建一个带按钮和弹窗的页面,使用 context7

相关链接

浏览器兼容性

| Safari

Safari on iOS | Opera

Android Webview | | --------- | --------- | | 9 | 4.4 |

参与贡献

贡献之前请先阅读 行为准则贡献指南.

感谢所有为 Arco Design Mobile 做过贡献的人!

以及曾经的战友们:

License

MIT 协议

<a href="https://star-history.com/#arco-design/arco-design-mobile&Date"><img src="https://api.star-history.com/svg?repos=arco-design/arco-design-mobile&type=Date" style="max-width: 100%; width: 550px"/></a>

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
sites/pc/index.d.ts
CodePopoverProps (Interface)
(no doc)
sites/components/code-popover/index.tsx
Window (Interface)
(no doc)
sites/utils/global.d.ts
GlobalContextParams (Interface)
(no doc)
sites/home/entry/setting.ts
Window (Interface)
(no doc)
sites/mobile/widgets/global.d.ts
ProgressProps (Interface)
(no doc)
packages/arcodesign/components/progress/index.tsx
SystemOptions (Interface)
(no doc)
packages/common-widgets/utils/browser.ts
$COMP$Props (Interface)
(no doc)
scripts/init/_comp-template_/index.tsx

Core symbols most depended-on inside this repo

getRem
called by 455
packages/arcodesign/tokens/src/arcodesign/default/index.js
useGlobal
called by 241
packages/arcodesign/tokens/src/arcodesign/default/index.js
render
called by 239
packages/arcodesign/components/notify/index.tsx
mountTest
called by 58
packages/arcodesign/tests/mountTest.js
max
called by 58
packages/common-widgets/utils/validator/rules.ts
demoTest
called by 55
packages/arcodesign/tests/demoTest.js
min
called by 42
packages/common-widgets/utils/validator/rules.ts
includes
called by 40
packages/common-widgets/utils/validator/rules.ts

Shape

Function 1,026
Interface 341
Method 78
Class 38
Enum 10

Languages

TypeScript100%

Modules by API surface

packages/common-widgets/utils/validator/rules.ts46 symbols
packages/arcodesign/components/image-preview/index.tsx37 symbols
packages/arcodesign/components/carousel/index.tsx33 symbols
packages/common-widgets/utils/dom.ts26 symbols
packages/arcodesign/components/_helpers/hooks.ts23 symbols
packages/arcodesign/components/date-picker/index.tsx20 symbols
packages/common-widgets/utils/date.ts17 symbols
packages/arcodesign/components/picker-view/components/picker-cell.tsx16 symbols
packages/arcodesign/components/form/type.ts16 symbols
packages/arcodesign/components/swipe-action/index.tsx15 symbols
packages/arcodesign/components/popover/hooks/usePosition.ts15 symbols
packages/arcodesign/tools/touch2mouse.js13 symbols

For agents

$ claude mcp add arco-design-mobile \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page