Experimental Controls for Avalonia.
This repository serves as a staging ground for new controls for Avalonia, with the intention of including them in the core AvaloniaUI controls. The controls available here are unstable and are suspected to breaking changes as they are being worked on.
Add the Avalonia.Labs.Controls.ControlThemes theme after your main app theme in App.xaml.cs.
<Application xmlns="https://github.com/avaloniaui"
xmlns:labs="using:Avalonia.Labs.Controls"
...
/>
<Application.Styles>
<FluentTheme/>
<labs:ControlThemes/>
</Application.Styles>- AsyncImage
- CommandManager
- FlexPanel
- FlipView
- InfoBadge
- GIF image renderer and player
- Lottie Viewer
- NavigationControl
- Qr Code Generator
- StepBar
- SKCanvasView
- SwipeView
- TabControl
Nightly builds are published on the Avalonia Nightly feed. Instructions for using them can be found here https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed
Clone with submodules (git clone --recursive, or git submodule update --init after cloning), then use dotnet build / dotnet test as usual.
Packaging is driven by a NUKE build in build/:
# Run tests, build and pack every library into artifacts/packages, then install
# them into the local NuGet cache as 9999.0.0-localbuild for testing in other apps
dotnet run --project build/_build.csproj
# Only create the packages (and their SBOMs)
dotnet run --project build/_build.csproj -- --target CreateNugetPackages