Table of Contents
DrawnUI Logo

DrawnUI for .NET MAUI

Build stunning cross-platform apps with hardware-accelerated SkiaSharp rendering

1. Install:

dotnet add package DrawnUi.Maui

2. Initialize:

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp<App>()
        .UseDrawnUi();  // ← Add this line
    
    return builder.Build();
}

3. Draw:

<ContentPage xmlns:draw="http://schemas.taublast.com/drawnUi/2022/maui">
    <draw:Canvas>
        <draw:SkiaLabel FontSize="15" Text="Drawn with SkiaSharp!" />
    </draw:Canvas>
</ContentPage>
πŸ“– Complete Setup Guide

🌟 What Is DrawnUI?

DrawnUI is a powerful rendering engine for .NET MAUI built on top of SkiaSharp that brings together a complete layout system, gesture recognition, smooth animations, and custom-drawn controlsβ€”all rendered on hardware-accelerated canvases.

Unlike traditional MAUI controls that rely on native platform widgets, DrawnUI renders everything directly to GPU-accelerated surfaces using SkiaSharp's 2D graphics library. This approach gives you pixel-perfect control over your app's appearance while maintaining max performance across iOS, Android, Windows, and macOS.

Key Architecture:

  • SkiaSharp Foundation: Leverages Google's Skia graphics engine for consistent, high-performance 2D rendering
  • Canvas-Based Layout: Custom layout system that positions and sizes controls on hardware-accelerated surfaces
  • Gesture Engine: Multi-touch gesture recognition system with support for complex interactions
  • Animation Pipeline: Smooth, performant animations using GPU acceleration and intelligent caching
  • Virtual Controls: Lightweight control system without native platform overhead

Perfect for apps requiring custom UI designs, complex animations, game-like interfaces, or pixel-perfect cross-platform consistency that traditional MAUI controls can't achieve.

πŸƒ Master Performance

  • Fast App Startup for totally drawn apps
  • Caching system for retained rendering
  • Hardware acceleration on all platforms
  • Virtual controls - no native overhead

🎨 Unleash Creativity

  • Pixel-perfect cross-platform consistency
  • Gesture system with multi-touch support
  • 2D/3D transforms and visual effects
  • Custom shaders and filters

πŸ‘¨β€πŸ’» Familiar Yet Powerful

  • MAUI/WFP-like properties for layout etc
  • MAUI Shell-like navigation on canvas
  • XAML + Hot Reload support
  • Fluent C# syntax for code-behind UI

πŸ“” Learn More

πŸ“– Documentation

Complete guides and API reference

Getting Started β†’
Controls Reference β†’
Advanced Topics β†’

πŸ§™ Tutorials

Step-by-step practical examples

View Tutorials β†’
Sample Apps β†’
Fluent Syntax β†’

πŸ’¬ Community

Get help and share your creations

GitHub Discussions β†’
Report Issues β†’
FAQ β†’

License NuGet Version NuGet Downloads

By Nick Kovalsky (@taublast) and contributors