MCPcopy Create free account
hub / github.com/GMPrakhar/MAUI-Designer

github.com/GMPrakhar/MAUI-Designer @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
155 symbols 300 edges 23 files ⚖ GPL-3.0 5 documented · 3% ● updated 2mo agovsix-v1.0.0-beta.10 · 2026-10-01★ 2015 open issues

Browse by type

⨍ Functions 118◇ Types & classes 37
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MAUI Designer

A native visual designer for .NET MAUI, built with C# and WinUI. Drag controls onto the canvas, edit their properties, and generate XAML. The canvas hosts real MAUI views, not HTML/CSS approximations.

The current desktop app lives in maui-designer-native/ and targets Windows with .NET 10.

Features

  • Reflection-based toolbox for MAUI, CommunityToolkit and custom-control assemblies.
  • Native layout, drag/drop, resizing, reparenting and hierarchy navigation.
  • Multi-selection, clipboard actions, keyboard commands and undo/redo.
  • Grouped property editing, Grid track editors, and direct row/column/span placement.
  • Device presets, zoom, pan, snap/grid controls and rulers in a light workspace.
  • Revision-acknowledged live XAML sync that reconnects after transport interruptions.
  • XAML round-trips preserve resources, styles, templates, visual states, namespaces, custom attributes, and markup extensions.
  • A separate real-MAUI runtime preview and DevFlow inspection in Debug builds.

Getting started

Requirements: Windows 10 version 1809 or later, the .NET 10 SDK, and the MAUI Windows workload.

git clone https://github.com/GMPrakhar/MAUI-Designer.git
cd MAUI-Designer
dotnet workload install maui-windows
dotnet run --project maui-designer-native/MAUIDesigner.Fresh.App/MAUIDesigner.Fresh.App.csproj -c Debug

No browser, Node.js or Angular development server is needed for the native app.

Native release builds are published as MAUIDesigner-win-x64.zip by the native-v* release workflow. Look for MAUI Designer native prereleases on the releases page, rather than the separate VSIX download.

Designing a page

  1. Drag a control or layout from the toolbox onto the canvas.
  2. Select it on the canvas or in the hierarchy, then resize it or edit its properties.
  3. Open XAML to edit the document. Valid edits update the canvas automatically; invalid input leaves the current design unchanged.

Use Load controls to add custom-control assemblies and their adjacent dependencies. Runtime-only bindings, converters, commands and behaviors are preserved in XAML but are not executed by the designer; literal values and binding fallbacks drive previews.

Visual Studio extension

The VSIX hosts the native designer inside a Visual Studio document tab and synchronizes the existing XAML text buffer. It is not a WebView-based editor.

Download MauiDesigner.vsix from the VSIX release, close Visual Studio, install it, then choose Open With > MAUI Designer on a .xaml file. Requires Windows and Visual Studio 2022 or 2026.

Development and related projects

Build the native app on Windows:

dotnet build maui-designer-native/MAUIDesigner.Fresh.App/MAUIDesigner.Fresh.App.csproj -c Release

See the native development guide for publishing and platform details. Follow CONTRIBUTING.md: integrate feature work on develop, then promote approved changes to main through a pull request.

The earlier Angular app remains in src/ as a separate implementation; its HTML/CSS preview is not the native designer described here.

Support

Created by GMPrakhar.

Buy me a coffee!

paypal

License

GNU GPL v3.0 only. Dependencies retain their own licenses. Earlier README revisions stated MIT, then PolyForm Noncommercial; this does not retroactively withdraw rights granted under those statements.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 118
Class 22
Interface 10
Enum 5

Languages

TypeScript100%

Modules by API surface

src/app/components/designer-canvas/designer-canvas.ts32 symbols
src/app/services/element.ts20 symbols
src/app/services/drag-drop.ts18 symbols
src/app/services/layout-designer.ts13 symbols
src/app/services/xaml-parser.ts12 symbols
src/app/models/maui-element.ts11 symbols
src/app/services/xaml-generator.ts10 symbols
src/app/components/xaml-editor/xaml-editor.ts10 symbols
src/app/components/hierarchy-panel/hierarchy-panel.ts8 symbols
src/app/components/properties-panel/properties-panel.ts7 symbols
src/app/app.ts7 symbols
src/app/components/toolbox/toolbox.ts5 symbols

For agents

$ claude mcp add MAUI-Designer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page