Consolonia 11.2.1-alpha-668

This is a prerelease version of Consolonia.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Consolonia --version 11.2.1-alpha-668
                    
NuGet\Install-Package Consolonia -Version 11.2.1-alpha-668
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Consolonia" Version="11.2.1-alpha-668" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Consolonia" Version="11.2.1-alpha-668" />
                    
Directory.Packages.props
<PackageReference Include="Consolonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Consolonia --version 11.2.1-alpha-668
                    
#r "nuget: Consolonia, 11.2.1-alpha-668"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Consolonia@11.2.1-alpha-668
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Consolonia&version=11.2.1-alpha-668&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Consolonia&version=11.2.1-alpha-668&prerelease
                    
Install as a Cake Tool

Consolonia

This package is meta package for building Consolonia applications.

Background

Consolonia is a TUI (Text User Interface) (GUI Framework) implementation for Avalonia UI

Supports XAML, data bindings, animation, styling and the rest from Avalonia.

Showcase (click picture to see video)

datagridpic

Usage

Define an application with a theme (See Consolonia.Themes.TurboVision for themes)

Define a Window

HelloWorldWindow.axaml

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="HelloWorldWindow">
    <TextBlock Text="Hello World" />
</Window>

## Define an application 
You need to define an application that defines a theme and sets the main window.

HelloWorldApp.cs
```csharp
// use HelloWorldWindow as the MainWindow for the application
public class HelloWorldApp : ConsoloniaApplication<HelloWorldWindow>
{
    public override void Initialize()
    {
        // set the theme
        Styles.Add(new MaterialTheme());
    }
}

Setup program.cs

Program.cs

[STAThread]
private static void Main(string[] args)
{
    BuildAvaloniaApp()
        .StartWithConsoleLifetime(args);
}

public static AppBuilder BuildAvaloniaApp()
    => AppBuilder.Configure<HelloWorldApp>()
        .UseConsolonia()
        .UseAutoDetectedConsole()
        .LogToException();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Consolonia:

Package Downloads
Consolonia.Blazor

.NET TUI framework: Avalonia engine, terminal output, modern UX

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Consolonia:

Repository Stars
jinek/Consolonia
A cross-platform UI framework for .NET.
Version Downloads Last Updated
11.3.4-beta.1334 0 8/26/2025
11.3.4-beta.1325 0 8/26/2025
11.3.4-beta.1313 81 8/20/2025
11.2.5-beta.1305 87 8/19/2025
11.2.5-beta.1302 84 8/19/2025
11.2.5-beta.1298 86 8/18/2025
11.2.5-beta.1296 85 8/17/2025
11.2.5-beta.1294 84 8/17/2025
11.2.5-beta.1290 62 8/17/2025
11.2.5-beta.1287 59 8/17/2025
11.2.5-beta.1284 57 8/17/2025
11.2.5-beta.1278 18 8/16/2025
11.2.5-beta.1276 16 8/16/2025
11.2.5-beta.1273 17 8/16/2025
11.2.5-beta.1270 17 8/16/2025
11.2.5-beta.1264 18 8/16/2025
11.2.5-beta.1261 21 8/16/2025
11.2.5-beta.1259 18 8/16/2025
11.2.5-beta.1228 96 8/13/2025
11.2.5-beta.1221 102 8/10/2025
11.2.5-beta.1218 72 8/10/2025
11.2.5-beta.1213 79 8/10/2025
11.2.5-beta.1209 75 8/10/2025
11.2.5-beta.1207 77 8/10/2025
11.2.5-beta.1197 90 8/9/2025
11.2.5-beta.1176 146 8/3/2025
11.2.5-beta.1142 93 7/30/2025
11.2.5-beta.1102 157 7/4/2025
11.2.5-beta.1090 146 6/17/2025
11.2.5-beta.1077 152 6/3/2025
11.2.5-beta.1075 126 6/2/2025
11.2.5-beta.1065 203 4/8/2025
11.2.5-beta.1050 149 3/28/2025
11.2.5-beta.1047 114 3/27/2025
11.2.5-beta.1044 121 3/27/2025
11.2.5-beta.1026 174 3/23/2025
11.2.5-beta.1023 146 3/22/2025
11.2.5-beta.1018 142 3/22/2025
11.2.5-beta.1016 141 3/22/2025
11.2.5-beta.1008 76 3/22/2025
11.2.5-beta.1004 65 3/21/2025
11.2.5-beta.988 94 3/15/2025
11.2.5-beta.965 162 3/1/2025
11.2.5-beta.959 84 2/28/2025
11.2.3-beta.954 90 2/27/2025
11.2.3-beta.946 106 2/24/2025
11.2.3-beta.936 129 2/7/2025
11.2.3-beta.920 98 2/6/2025
11.2.3-beta.906 117 2/2/2025
11.2.3-beta.902 99 2/1/2025
11.2.3-beta.887 111 1/27/2025
11.2.3-beta.883 73 1/27/2025
11.2.3-beta.876 102 1/26/2025
11.2.3-beta.874 76 1/26/2025
11.2.3-beta.866 91 1/24/2025
11.2.3-beta.862 70 1/24/2025
11.2.3-beta.860 76 1/23/2025
11.2.3-beta.849 104 1/23/2025
11.2.3-beta.845 68 1/23/2025
11.2.3-beta.841 79 1/22/2025
11.2.3-beta.838 87 1/20/2025
11.2.3-beta.826 91 1/19/2025
11.2.3-beta.819 76 1/18/2025
11.2.3-beta.802 94 1/17/2025
11.2.3-beta.798 67 1/17/2025
11.2.3-beta.793 62 1/17/2025
11.2.3-beta.789 66 1/17/2025
11.2.3-beta.784 66 1/16/2025
11.2.1-alpha-782 60 1/16/2025
11.2.1-alpha-770 62 1/15/2025
11.2.1-alpha-764 40 1/15/2025
11.2.1-alpha-756 51 1/14/2025
11.2.1-alpha-748 148 1/10/2025
11.2.1-alpha-713 77 1/6/2025
11.2.1-alpha-711 103 1/4/2025
11.2.1-alpha-709 95 1/4/2025
11.2.1-alpha-701 100 1/4/2025
11.2.1-alpha-698 98 1/3/2025
11.2.1-alpha-678 101 1/1/2025
11.2.1-alpha-668 72 12/26/2024
11.2.1-alpha-664 72 12/26/2024
11.2.1-alpha-661 70 12/26/2024
11.2.1-alpha-652 74 12/25/2024
11.2.1-alpha-648 68 12/25/2024
11.2.1-alpha-646 70 12/25/2024
11.2.1-alpha-631 73 12/24/2024
11.2.1-alpha-626 71 12/23/2024
11.2.1-alpha-614 66 12/23/2024
11.2.1-alpha-606 375 12/21/2024
11.2.1-alpha-604 70 12/20/2024
11.2.1-alpha-598 69 12/19/2024
11.2.1-alpha-595 81 12/17/2024
11.2.1-alpha-593 67 12/17/2024
11.2.1-alpha-579 84 12/15/2024
11.2.1-alpha-577 75 12/15/2024
11.2.1-alpha-574 77 12/15/2024
11.2.1-alpha-568 75 12/15/2024
11.2.1-alpha-559 82 12/14/2024
11.2.1-alpha-547 85 12/13/2024
11.2.1-alpha-545 73 12/13/2024
11.2.1-alpha-540 73 12/13/2024
11.2.1-alpha-538 79 12/13/2024
11.2.1-alpha-523 82 12/8/2024
11.2.1-alpha-517 124 12/8/2024