Skip to content
项目

关于

基于 Arco Design 的 React 移动端 UI 组件库

网站与应用开发

这些数字如何统计

可以做什么

  • Provides 50+ easy-to-use components based on TypeScript
  • Simple and restrained UI design & pixel-accurate restoration
  • Pursue the ultimate finger interaction effect
  • Online high-traffic verification of important components

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.zh-CN.md

原文

Arco Design Mobile

基于 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 协议

探索相关项目

加载中…