All projects

Interactive XAML design

XamlPlayground

Write, run, and visually reshape Avalonia XAML in one immediate workspace.

StatusActive
TierFlagship
DomainTools
Repositorywieslawsoltes/XamlPlayground

An interactive Avalonia XAML editor, live previewer, and WYSIWYG designer with synchronized structure, properties, toolbox, diagnostics, and shareable gists.

XamlPlayground keeps source, runtime preview, and visual design synchronized. Run mode behaves like the real application; design mode adds structural hit testing, selection, movement, resizing, insertion, property editing, and XAML mutation.

01

Live XAML preview

02

WYSIWYG canvas editing

03

Toolbox, structure, and properties

04

Headless designer coverage

Where it fits.

  • Avalonia developers learning or prototyping XAML
  • Tool authors embedding live XAML editing
  • Design-system teams testing controls and themes
Avalonia desktop

Supported

Avalonia browser

Live site

Run / design modes

Explicit

Headless tests

Designer coverage

Real output,
not a mockup.

XamlPlayground logo
A complete XAML authoring and visual design workspace for Avalonia.

Clear layers.
Replaceable seams.

01

Editor

AvaloniaEdit provides source editing, diagnostics, selection, and optional minimap extensions.

02

Runtime

The preview loads XAML and preserves normal control interaction in run mode.

03

Designer

Visual hit testing, overlays, drag/resize, guides, and toolbox insertion operate in design mode.

04

Synchronization

Structural XAML paths keep source, preview, tree, and property selection aligned.

2 modesruntime and WYSIWYG design
4-way syncsource, preview, tree, properties
Headlessinteraction screenshot coverage
LiveGitHub metadata

From package
to first frame.

Choose the package workflow used by your repository, then start from the smallest working example. Replace VERSION with the current stable or prerelease version shown on NuGet.

01 · Install
Terminal
dotnet add package XamlPlayground
02 · Use · xml
MainWindow.axaml
<playground:XamlEditor
Xaml="{Binding Document}"
IsDesignMode="True" />

Start focused.
Compose as needed.

The repository is the source of truth.

Use the current documentation and samples, inspect changes, report issues, or support continued open-source maintenance.

ReactiveGenerator

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…