An open-source framework for building universal native apps with React that run on Android, iOS, and the web.
dcloudio/uni-app
A Vue.js-based cross-platform framework that lets developers write one codebase for iOS, Android, HarmonyOS, Web and many mini-program platforms.
- Stars
- 41,619
- Forks
- 3,705
- Open issues
- 713
- Last commit
- 10 hours ago
What is it?
uni-app is a framework for building front-end applications with Vue.js. Developers write one codebase and publish it to iOS, Android, HarmonyOS, responsive Web, and a range of mini-programs such as WeChat, Alipay, Baidu, Douyin, and Kuaishou, as well as Quick Apps and HarmonyOS atomic services.
The project is split into two generations. uni-app x, the newer line and this repository's main branch, lets pages be written in JS, TS, or UTS, and renders natively on App platforms. The older uni-app runs on the same architecture as mini-programs, with JS logic and a web-view rendering layer. UTS is a TypeScript-like language that compiles to Kotlin on Android, Swift on iOS, ArkTS on HarmonyOS, and JS on Web and mini-program targets, mainly used for native plugin extensions.
The repository includes performance benchmark reports, documentation, example projects, source code, and tests. The project also provides AI-related tooling, including a CLI for AI model training and an uni-agent assistant for development.
Key features
- 01Compile one Vue codebase to iOS, Android, HarmonyOS, Web, and multiple mini-program platforms.
- 02Supports JS, TS, and UTS for writing pages in uni-app x.
- 03App platforms render with native views in uni-app x.
- 04UTS compiles to Kotlin, Swift, ArkTS, or JS depending on the target.
- 05Includes benchmark reports for View, Text, and long-list rendering on three App platforms.
Use cases
- Shipping one product as both a mobile app and a WeChat or Alipay mini-program.
- Building a responsive Web app and native App from the same Vue codebase.
- Writing native plugins for App platforms with the UTS language.
Quick start
- 1
Visit the hello uni-app x example repository on GitHub to get started
- 2
Clone the repository for the uni-app x branch and browse the examples folder
Things to know
- The README gives no single install command, so setup requires following links to external docs and repositories.
- Parts of the native rendering path target specific platforms, and the Quick Experience QR demo notes that some Quick App features are limited to vivo, OPPO and Huawei.
Topics
FAQ
- What is uni-app?
- A Vue.js-based cross-platform framework that lets developers write one codebase for iOS, Android, HarmonyOS, Web and many mini-program platforms. uni-app is a framework for building front-end applications with Vue.js. Developers write one codebase and publish it to iOS, Android, HarmonyOS, responsive Web, and a range of mini-programs such as WeChat, Alipay, Baidu, Douyin, and Kuaishou, as well as Quick Apps and HarmonyOS atomic services.
- Is uni-app free to use? What license does it have?
- uni-app is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is uni-app still maintained?
- Actively maintained. The last commit to uni-app was on Oct 20, 2026.
- What can I use uni-app for?
- Shipping one product as both a mobile app and a WeChat or Alipay mini-program. Building a responsive Web app and native App from the same Vue codebase. Writing native plugins for App platforms with the UTS language.
- How do I install uni-app?
- Visit the hello uni-app x example repository on GitHub to get started Clone the repository for the uni-app x branch and browse the examples folder
- Where can I get uni-app?
- The source code and installation instructions are on GitHub: https://github.com/dcloudio/uni-app
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A framework for building native iOS, Android and visionOS apps with JavaScript or TypeScript, using native UI and APIs directly.
Google's open-source SDK for building natively compiled mobile, web, and desktop apps from a single Dart codebase.
A framework for building native Android and iOS apps using React, with JavaScript UI rendered by native platform components.
An open multi-platform, multi-framework solution for building one app that runs on WeChat/Alipay/other mini programs, H5 web, and React Native using React or Vue.
Python framework for building web, desktop and mobile apps with a Flutter-based UI, no frontend experience needed.