uno README

The project's README from github.com/unoplatform/uno. As one markdown file: README.md.

Uno Platform Banner

NuGet Azure DevOps NuGet Downloads GitHub Stars All Contributors Open Uno in Gitpod PRs Welcome

Uno Platform is an open-source developer platform for building single-codebase .NET applications that run natively on Web, Desktop, Mobile, and Embedded systems. It uses the WinUI 3 API surface, allowing you to reuse your existing C# and XAML skills to reach all platforms.

Uno Platform is trusted by over 300 contributors and used by enterprise clients such as Toyota, Microsoft, and Kahua for mission-critical applications. With ~10,000 GitHub stars and 130+ million NuGet downloads, it is a proven foundation for professional-grade development.


Uno Platform and Uno Platform Studio for The Most Productive C# / XAML Dev Loop

Uno Platform (Core Framework)

The free and open-source (Apache 2.0) foundation for building cross-platform .NET applications. It includes the UI framework, platform heads, and a rich set of developer experience enhancements.

🌐 Cross-Platform Support

Develop fully native applications for a wide range of platforms from a single codebase.

🛠️ Toolkit & Extensions

Uno Platform Studio

The AI-native productivity suite for building enterprise-grade, cross-platform .NET applications. It spans prompt-to-app generation in the browser, an AI development agent, design handoff, and the industry-first runtime visual designer for .NET — integrating with Visual Studio, VS Code, and JetBrains Rider to deliver an unparalleled development loop.

Uno Platform Studio - Hot Design

🚀 Quick Start

Get your development environment ready and create your first app in minutes.

  1. Check Your Environment: Use our Uno.Check command-line tool to automatically check, install, and configure all required workloads and dependencies.

  2. Create Your App: Use the Template Wizard in your IDE or the command line to quickly create and configure new Uno Platform projects with the appropriate settings for your target platforms.

    Uno Platform New Project Wizard

  3. Build and Run

➡️ For detailed guides, visit the Official Uno Platform Documentation on how to get started with Uno Platform.


🛠️ How It Works

Uno Platform unifies cross-platform development by abstracting platform-specific implementations behind the WinUI 3 API surface.

  1. Develop: You write your application in a single project using C# and XAML (or C# Markup) within your preferred environment (Visual Studio, JetBrains Rider, Visual Studio Code) on Windows, macOS, or Linux.
  2. Render: Uno Platform renders your UI using one of two methods:
    • Unified Skia Rendering: A Skia-based engine draws your UI on a canvas, ensuring consistent performance, smooth animations, and pixel-perfect visuals across all targets.
    • Native Rendering: The XAML UI is translated into native platform controls (e.g., UIKit on iOS), providing a platform-native look and feel when desired.
  3. Deploy: The build process generates a native application package for each target platform from the single codebase.

Uno Platform Features


📚 Learning & Community Resources

X/Twitter Followers Uno Platform Discord YouTube Followers

Contributing

This is an active open-source project, and we welcome contributions from the community. To learn how you can get involved, please refer to our Contribution Guide (CONTRIBUTING.md) for details on how to get started.

Contributors

Thanks go to these wonderful people (List made with contrib.rocks):

Uno Platform Contributors

License

This repository is licensed under the Apache 2.0 License.

uno (unoplatform/uno)

Searching Database…

10.1K ·GitHub
这是什么?Uno Platform 是一个开源平台,只需一套 C#/XAML 代码库,即可基于 WinUI 3 API 构建原生移动、Web、桌面和嵌入式应用。
那它是我写代码时用的框架,还是一个能运行的应用?它是一个开源 UI 框架,带有各平台适配层和开发者工具:你在自己的 IDE 中构建一个 C#/XAML 项目,构建后会为每个目标平台生成原生应用安装包。
创建第一个应用需要做什么?运行 Uno.Check 命令行工具,它会自动安装并配置所有必需的工作负载和依赖项,然后在 IDE 中使用模板向导或从命令行创建一个新项目。
我可以在哪些 IDE 和操作系统上开发?一切都基于 .NET:Uno.Check 会帮你配置好所需的工作负载,你可以在 Windows、macOS 或 Linux 上使用 Visual Studio、JetBrains Rider 或 VS Code 进行开发。
我的界面在每个平台上看起来会完全一样吗?默认情况下由 Skia 引擎把你的界面绘制在同一块画布上,因此每个目标平台都保持像素级一致;如果你想要平台原生的外观,XAML 会被转换成原生控件,比如 iOS 上的 UIKit。
这是业余爱好者的工具,还是生产级产品?生产级:Toyota、Microsoft 和 Kahua 等企业在其关键业务应用中使用它,拥有 300 多名贡献者和超过 1.3 亿次 NuGet 下载。
同一套代码可以发布到哪些平台?一套代码库可面向 iOS 和 Android、WebAssembly、Windows 10 和 11、通过 Skia Desktop 支持的 Windows 7、macOS,以及通过 Skia Desktop 配合 X11 或 Framebuffer 支持的 Linux(用于嵌入式场景)。
Uno Platform Studio 在框架之上增加了什么?Studio 是围绕核心框架的 AI 原生套件:一个能把提示词变成可运行的跨平台应用的浏览器应用;一个以插件形式提供给 Claude Code、GitHub Copilot 和 OpenAI Codex 使用的 AI 智能体,内置 70 多个 Uno 专属技能;Hot Design(已获专利的运行时可视化设计器);从 Figma 设计导出代码;以及让智能体访问 Uno 文档和你正在运行的应用的 MCP。
应用运行时我还能修改 XAML 和 C# 吗?可以——Hot Reload 对 WebAssembly、macOS、Linux、Windows、iOS 和 Android 上的 XAML 和 C# 都有效,让你在不丢失应用状态的情况下持续迭代正在运行的应用。
开箱即用能获得哪些控件和库?来自 WinUI、Windows Community Toolkit、Uno Toolkit 乃至 .NET MAUI 控件的数百个 UI 组件,并提供 Material、Fluent 或 Cupertino 主题。兼容的库包括 Prism、SkiaSharp、ReactiveUI、LiveCharts、MapsUI 和 LibVLCSharp。
XAML 是构建界面的唯一方式吗?不是——你可以在同一个项目中编写 XAML 或 C# Markup,条件 XAML 还能让你在特定平台上访问原生控件和属性。
Size
361.4 MB
Stars
10.1K
Age
8y
Commits · 90 Days