Vector artwork becomes Avalonia resources
SVG Conversion Engine
Convert design-time SVG assets into native XAML that tools and applications can inspect.
Explore source ↗Capability
The converter parses SVG content into an intermediate drawing model and emits Avalonia XAML geometry, drawing, brush, transform, clip, mask, filter, and resource structures for desktop or browser workflows.
- 01
Intermediate drawing and resource model
- 02
Geometry, paint, transform, and container conversion
- 03
Desktop and browser hosts
- 04
Compatibility and cleanup options
How it composes
From intent
to working system.
Parse
SVG elements and paint data become a structured source model.
Translate
Shapes, transforms, resources, clips, and effects map to XAML concepts.
Optimize
Compatibility and resource-reuse settings shape output.
Write
The converter produces standalone XAML or resource content.
Quick start
Adopt this
capability.
Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.
dotnet add package SvgToXamlConverter<PackageReference Include="SvgToXamlConverter" Version="VERSION" /><PackageVersion Include="SvgToXamlConverter" Version="VERSION" /># Run the desktop converter from source.dotnet run --project src/SvgToXaml.Desktop
# Open SVG artwork, inspect the generated drawing,# then save the Avalonia XAML output.Modules in this capability
Use one layer.
Compose the rest.
Source of truth
Read the module beside the complete system.
The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.