Installation
Flowery.Uno provides DaisyUI-inspired controls for Uno Platform / WinUI applications. This guide covers everything you need to install and configure the library.Requirements
Minimum Requirements:
- .NET 8.0 or later
- Uno Platform 6.x
Platform Workloads
Different platform heads require specific .NET workloads. Install them based on your target platforms:Flowery.Uno uses
GenerateLibraryLayout=true, which means its resources are automatically included. You don’t need to manually merge Themes/Generic.xaml.<Application
x:Class="YourApp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
<ResourceDictionary />
</Application.Resources>
</Application>
If you calculate layout before any Daisy control loads, you should seed design tokens early in your app startup:
using Flowery.Theming;
protected override void OnLaunched(LaunchActivatedEventArgs args)
{
// Seed design tokens before creating windows
DaisyResourceLookup.EnsureTokens();
// Create your main window
MainWindow = new MainWindow();
MainWindow.Activate();
}
Project Structure
When building from source, you’ll work with these projects:| Project | Description |
|---|---|
Flowery.Uno | Core library containing all controls |
Flowery.Uno.Win2D | Optional Win2D extension library for advanced geometry/effects |
Flowery.Uno.Gallery | Shared Gallery UI library |
Flowery.Uno.Gallery.Windows | WinUI (Windows) Gallery head |
Flowery.Uno.Gallery.Desktop | Skia desktop Gallery head (Windows/Linux/macOS) |
Flowery.Uno.Gallery.Browser | WebAssembly Gallery head |
Flowery.Uno.Gallery.Android | Android Gallery head |
Build Scripts
If you’re building from source, convenience scripts are available:Build Parameters
-Configuration <Debug|Release>- Build configuration-NoRun- Build without running-Rebuild- Clean rebuild-VerboseOutput- Enable detailed logging-RestoreWorkloads- Restore workloads before building (build_all.ps1 only)
Verify Installation
After installation, verify everything works by adding a simple button to your app:MainWindow.xaml
Next Steps
Quickstart Guide
Build your first Flowery.Uno app with a complete example
Theming Guide
Learn how to customize themes and colors

