Ant Design Mobile RN

可配置的移动用户界面规范和基于 React 的实现。「Ant Design for React Native. A configurable Mobile UI specification and React-based implementation.」

Github星跟蹤圖

English | 简体中文

Ant Design Mobile RN


Codecov
npm package
NPM downloads
Dependency Status
Percentage of issues still open
Join the chat at https://gitter.im/ant-design/ant-design

A configurable Mobile UI specification and React-based implementation.

If you only care about the style you may give [Tanjun] a try.

Features

  • Follow Ant Design Mobile UI specification.
  • Configurable UI style for different products.
  • Support web and native usages based on React Native.
  • Develop in TypeScript.

Expo

  • Web support

    Preview Web Platform in [here] 🔗

  • Expo demo app

Expo SDK 44 SDK 47 iOS SDK 47 Android

Open the camera app on your device and scan the code above,
need install expo app: https://expo.io/tools

Development

  • Running On Device
# clone
git clone git@github.com:ant-design/ant-design-mobile-rn.git

# go to ant rn folder
cd ant-design-mobile-rn

# install dependencies
yarn

# start ios
cd rn-kitchen-sink/ios && pod install
yarn ios 

# start android
yarn android
  • Running On Expo
# go to expo example folder
cd example

# install dependencies
yarn

# start expo
yarn expo

Install & Usage

$ npm install @ant-design/react-native --save

or

yarn add @ant-design/react-native

Installing peer dependencies

npm install @react-native-camera-roll/camera-roll @react-native-picker/picker @react-native-community/segmented-control @react-native-community/slider react-native-gesture-handler

or

yarn add @react-native-camera-roll/camera-roll @react-native-picker/picker @react-native-community/segmented-control @react-native-community/slider react-native-gesture-handler

You need go to ios folder and run pod install (auto linking),Android will handle it by itself.

npx react-native link

introduce

Contributing

We welcome all contributions, please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as a GitHub issue. If you'd like to improve code, check out the Development Instruction and have a good time! :)

主要指標

概覽
名稱與所有者ant-design/ant-design-mobile-rn
主編程語言TypeScript
編程語言JavaScript (語言數: 9)
平台
許可證MIT License
所有者活动
創建於2018-05-02 08:38:52
推送於2025-04-24 02:46:44
最后一次提交2025-04-23 18:00:29
發布數113
最新版本名稱5.4.1 (發布於 )
第一版名稱2.2.0-beta.0 (發布於 )
用户参与
星數3.2k
關注者數42
派生數619
提交數751
已啟用問題?
問題數718
打開的問題數30
拉請求數135
打開的拉請求數0
關閉的拉請求數560
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?