Description
NanUI is an open source framework for .NET that lets you build the user interface of a Windows Forms application with HTML, CSS and JavaScript, while you write the business logic in C#. It wraps the Chromium Embedded Framework through the Xilium.CefGlue project, which gives your interface a full modern browser engine. The project describes itself as a way to easily build powerful WinForm applications with a modern look. Development needs .NET Framework 4.6.2 or later, or .NET 6.0 or later, and Visual Studio 2019 or later, with Visual Studio 2022 recommended. Applications can be deployed on Windows 7 Service Pack 1 and later, using .NET 6.0 for Windows 7 and newer, and .NET 7.0 or 8.0 for Windows 10 and later. Some features, such as DirectComposition offscreen rendering, are not available on Windows 7. The framework is Windows only. The README also points out that CEF-based builds are fairly large, and it recommends a lighter sibling project, WinFormedge, if you can rely on WebView2 and Windows 10 or 11. The authors report that a .NET 8 application packaged with WinFormedge was about 36 MB compressed, while a NanUI app was at least about 125 MB. You install the NanUI NuGet package and the Chromium Embedded Framework dependencies, and then follow a basic example.…
Highlights
- Build WinForms interfaces with HTML, CSS and JavaScript
- Business logic in C#
- Chromium Embedded Framework engine
- Supports Windows 7 SP1 and later
- Install through NuGet
Ratings & Reviews
No ratings yet
Be the first to rate NanUI.
People also visit
NanUI FAQ
What is NanUI?
It is an open source .NET framework for building Windows Forms applications whose interface is written in HTML, CSS and JavaScript.
Which Windows versions does it support?
Deployment works on Windows 7 Service Pack 1 and later. Some features are not available on Windows 7.
What do I need to develop with it?
.NET Framework 4.6.2 or later, or .NET 6.0 or later, and Visual Studio 2019 or later, with Visual Studio 2022 recommended.
Is there a lighter option?
The README points to WinFormedge, which uses WebView2 and produces smaller packages, but it runs only on Windows 10 and 11.
Does it run on Linux or Mac?
No. The README states it is a Windows only framework.
How do I install it?
Install the NanUI NuGet package from the NuGet Package Manager, then install the Chromium Embedded Framework dependencies the README lists.
What are the best NanUI alternatives?
Popular alternatives to NanUI include Webui, NeutralinoJS and NetPad. See all NanUI alternatives

