avalonia-ui-setup

Solid

Set up Avalonia UI project with cross-platform XAML for Windows, macOS, and Linux

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
67
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# avalonia-ui-setup Set up Avalonia UI project with cross-platform XAML for true cross-platform desktop development on Windows, macOS, and Linux with a single codebase. ## Capabilities - Create Avalonia project structure - Configure MVVM with ReactiveUI - Set up platform-specific features - Configure Fluent/Simple themes - Set up native menu integration - Configure build for all platforms - Set up hot reload - Generate platform-specific publishing ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "projectName": { "type": "string" }, "theme": { "enum": ["fluent", "simple", "custom"] }, "mvvmFramework": { "enum": ["reactiveui", "community-toolkit", "custom"] } }, "required": ["projectPath", "projectName"] } ``` ## Project Structure ``` MyAvaloniaApp/ ├── App.axaml ├── MainWindow.axaml ├── ViewModels/ ├── Views/ ├── Models/ └── Program.cs ``` ## MainWindow.axaml ```xml <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="My Avalonia App"> <StackPanel> <TextBlock Text="{Binding Greeting}"/> <Button Command="{Binding ClickCommand}">Click Me</Button> </StackPanel> </Window> ``` ## Related Skills - `wpf-xaml-style-generator` - `cross-platform-test-matrix`

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills